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

3 次查看(过去 30 天)
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.

采纳的回答

MathWorks Support Team
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Use COM Objects in MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by