What is the exact error message? Guessing from your description, it might mean that the S-function block is not able to execute the MATLAB-file for some reason. Perhaps you are running the model outside of the directory where the MATLAB-file is present? Have you added the file to the MATLAB path?
Bad Handle Error
9 次查看(过去 30 天)
显示 更早的评论
Hi, what is bad handle error refer to? In an s-function code I always have to save the m-file to get it running again or this error confronting me. Any ideas?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Block and Blockset Authoring 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!