MATLAB COM Builder
MATLAB COM Builder
(OP)
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.
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.





RE: MATLAB COM Builder
http://www-rohan.sdsu.edu/doc/matlab/toolbox/compi...
RE: MATLAB COM Builder
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.
(http://www-rohan.sdsu.edu/doc/matlab/toolbox/compi...)
RE: MATLAB COM Builder
I have found a tutorial for COM builder for Vb6, it running properly but in my case it is GUI application with .xls data, so in this tutorial they do not explain how to add .xls file.
Nb: my English is not excellent, native language is French.
regards.