Error Meassage Simulation of model '....' is not allowed because it is a 'subsystem' block diagram
38 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I want so simulate a simulink block with subsystems automatically with Matlab script ( sim() function..).
I got the mesassage: "Simulation of model '....' is not allowed because it is a 'subsystem' block diagram"
Is it not possible to simulate a simulink model with subsystem automatically with sim() command from Matlab?
What can I do to enable this? Is there another (newer) command for this?
I use Matlab 2021
Kind Regards
Samuel
1 comentario
Respuestas (1)
Fangjun Jiang
el 16 de Nov. de 2022
sim() starts the simulation of a "model", not a "block" inside it.
To simulate that subsystem block, you have to copy that subsystem block to create a new model and then simulate it.
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!