error: Invalid Simulink object handle
Mostrar comentarios más antiguos
hello everyone
I try to simulate a model in Simulink, using file for global data and an introductory file, where the opening of the model is launched by open_system (TSmodel).
in the model, I use matlab function Interpreted.
when I simulates the init file:
Error using ==> open_system (TSmodel)
Invalid object handle Simulink.
cann u help me to resolve it?
Respuestas (1)
Azzi Abdelmalek
el 21 de Jun. de 2015
Check if Tsmodel is in the current folder, type
4 comentarios
studentU
el 21 de Jun. de 2015
Azzi Abdelmalek
el 21 de Jun. de 2015
What is the init file?
Azzi Abdelmalek
el 21 de Jun. de 2015
Editada: Azzi Abdelmalek
el 21 de Jun. de 2015
If TSmodel is the name of your simulink model, you have to put it between quotes
open_system('TSmodel')
Categorías
Más información sobre Modeling en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!