MATLAB Runtime Server | ![]() ![]() |
Installing the Example Files
This example consists of the files listed below, located in toolbox\runtime\examples\activex
directory.
To install the files, follow the instructions below. To prevent any confusion about which files you are working with, try to avoid having duplicates of these files in other locations on your path.
Visual Basic Files. Move the Visual Basic files to any convenient location on your hard disk. For example, you can put them in a directory called c:\myappVB
.
MATLAB Application Files. Create a directory called mydir
in the toolbox
directory of your development copy of MATLAB.
Add it to the MATLAB path using the command below.
The new mydir
directory should be at the same level as the toolbox\local
and toolbox\runtime
directories. Move the following files from toolbox\runtime\examples\activex
into toolbox\mydir
.
MATLAB Startup Functions. Move matlabrt.m
and pathdefrt.m
into the toolbox\local
directory of your development copy of MATLAB, alongside the matlabrc.m
and pathdef.m
files.
![]() | ActiveX Automation Example | Adapting the Design for Runtime Execution | ![]() |