How do I create a MATLAB Runtime Server application with my MATLAB code that makes use of COM (i.e. ActiveX)?

3 views (last 30 days)
The comcli based ActiveX functions are available as P-code in MATLAB 6.5 (R13). To distribute this code, I need to stamp it with my installation of the Runtime Server. For this purpose, I need the MATLAB code version of the comcli functions. I want to know if it is possible to obtain these files.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 26 Jan 2010
The MATLAB file version of the comcli files are not distributed with MATLAB because they are going to change in the next release of MATLAB. However, to use these files with Runtime Server, try the following:
1) Download the attached 'comcli.zip' file from the following support Web site:
2) Save the zip file in $MATLAB\toolbox\matlab\winfun\ directory.
(where $MATLAB = the MATLAB root directory on your machine)
3) Unzip the archive. This will place the required MATLAB-file versions of the P-code for use with Runtime Server.
3) Restart MATLAB and recreate your Runtime Server application.
Note that these functions are subject to change in a future release of MATLAB. Also, any modifications to these functions are not supported. These files are made available only for distribution with Runtime Server.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!