Simulink Programmatic Modeling - Large quantity of blocks
Ältere Kommentare anzeigen
Regards,
I have written a script to create a Simulink model via MATLAB lines of code systematically. Said script is scalable to increase the number of blocks to model a discretized physical problem with Simscape Multibody. The code works correctly and has been tested for small numbers of blocks. However, the amount of computational time to create the Simulink model is relatively high. Currently, I have a script that should make a Simulink model with a little over 2000 blocks. This script has been running for seven days now. MATLAB has not crashed or stopped, and according to the Windows task manager, it consumes 45GB of RAM and a moderate amount of processor resources.
At this point, I ask myself the following:
a) How to know if the model is still being created or just MATLAB has failed and should be stopped?
b) is there a limit to the number of blocks within a Simulink model?
I appreciate any helpful advice or information on what decision to make.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Simscape Multibody finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
