×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

MATLAB COM Builder

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.


RE: MATLAB COM Builder

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.
(http://www-rohan.sdsu.edu/doc/matlab/toolbox/compi...)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources