Slow simulation because of matlab function block which interact with python code.
Show older comments
My simulation model has a Matlab function block which sends some data to a model in Python and receives the answer of the model to use it in simulation. My problem is my simulation is running so slow, however, when I increase the sample time of that Matlab function block it runs faster but at the cost of low accuracy! What is your suggestion to simulate without changing the sample time of that MATLAB function block?
Accepted Answer
More Answers (0)
Categories
Find more on Simulink 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!