Simple Way to Setup Interactive and Powerful SysML and MATLAB Simulation in the Shared Workspace

preview_player
Показать описание
In this video we demonstrate truly interactive simulation method between Cameo Systems Modeler SysML project and MATLAB Simulink model. We show how to start shared workspace and not only monitor simulation from both products but also change parameters on both sides and see results in charts and store them into files. No need to import or export any model data. Simulation is interactive through common shared parameters. This enable descriptive system architecture model easy interactive simulation with detailed analysis or design models in the loop for requirements verification and much more.

Model file:
Рекомендации по теме
Комментарии
Автор

Thanks for providing this video tutorial! Got it working properly by updating the opaque actions to run MATLAB. Followed all the steps but for some reason it didn’t export the csv file. Any suggestions? Thanks again!

matthewjohnson
Автор

I love your channel - it's been very informative. I'm trying to implement this method with the interaction between a Matlab file (*.m) where there's no Simulink component. It seemed like the opaque actions would just contain the same commands that are used in the Matlab command prompt, but it's not working. I believe there are a few items I'm not implementing properly with the activity diagram. For example, when I Run with Context, I don't see anything happening other than "the block has initialized." Your example seems fairly straightforward so I'm assuming it's because I'm attempting to use without Simulink. Any thoughts?

BanditsHuckleberry
Автор

Very helpful video as always. I have successfully created the shared workspace and am able to pass data back and forth from Cameo to Matlab.

Is there a way to pass the block name and the value property name from cameo to Matlab?

I would like to pull these strings into Matlab to help label my Matlab plots. Here's an example: Block name = "Engine123", Value Property name in block = "RPM", Value Property Value = [1500, 1600, 1650, 1700]. Value Property name 2 = "Speed", Value Property Value 2 = [2, 3, 3.2, 3.8]. I have made the graph within but I must currently hardcode the xlabel, ylabel, and title instead of making the xlable= "Speed", ylabel = "RPM", title = "Engine123".

willwalker
Автор

I'm not getting this to work. I sent you an email. How do I call the script from activity diagram? Callbehavior action? And I set the language to matlab. I also shared the engine and the console to matlab. The activity runs into the action.. and then ends. Any other setting?

candyreid
Автор

I made the same steps but I got this " value(s) [m+v0] is/are not compatible with Value Property value1." when i run the block? Can you help me please?

tamerhawamdeh
Автор

this video cuts out in the middle of explaining trades in excel. is there a second part to this?

jimevart
Автор

this is not working for me. I dont even know what question to ask. here is my error in cameo : 00:00:00, 000 WARN: Illegal type: value(s) [x] is/are not compatible with Value Property Result.

candyreid