Simulink and COM (Component Object Model)
Show older comments
Hello all,
I know that MATLAB can utilize COM and acts as server or client. What I want to know is, whether a direct interface between Simulink and COM possible is. If not, maybe it can communicate with COM via MATLAB interface.
Any idea?
Thanks!
Accepted Answer
More Answers (1)
Mark
on 1 Apr 2011
1 vote
Fangjun is correct, you can only interface MATLAB through COM, but you can control Simulink from MATLAB, which could be enough. The "open_system" and "close_system" will let you open and close model files, and the "sim" command will run them. In addition to this, the Configuration Parameters' "Import/Export" tab lets you control how/if the model's inports and outports read and write to the MATLAB workspace.
Categories
Find more on Use COM Objects in MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!