error: Invalid Simulink object handle
162 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Azzi Abdelmalek
2015-6-21
Check if Tsmodel is in the current folder, type
4 个评论
Azzi Abdelmalek
2015-6-21
编辑:Azzi Abdelmalek
2015-6-21
If TSmodel is the name of your simulink model, you have to put it between quotes
open_system('TSmodel')
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Environment Customization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!