Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

MATLAB COM Builder

Status
Not open for further replies.

Benxmarine

Marine/Ocean
Mar 21, 2013
2
0
0
DZ
Hello,
Small application for ship stability under matlab 6.5, i would like to build COM to connect it to main program under VB6.
The matlab application contain one .m file, one .fig file, and one Excel file for data.
Does any one knows how to build it for VB6 compiler.
Regards.


 
Replies continue below

Recommended for you

Actually, I should read my own link better... I think the mcc command with the -b option does what you want.

Compiler and Environment Options

-b (Visual Basic File). Generate a Visual Basic file (.bas) that contains the Microsoft Excel Formula Function interface to the Compiler-generated COM object.When imported into the workbook Visual Basic code, this code allows the MATLAB function to be seen as a cell formula function.
(
 
Status
Not open for further replies.
Back
Top