Level-2 M-file S-Function
1 次查看(过去 30 天)
显示 更早的评论
Hello all,
I need to delete one of the 25 parameters of a Level-2 M-file S-Function in Simulink. More exactly the 16th. I did all the changes in the Mask Editor and I edited the corresponding m file, meaning that after deleting the 16th parameter, I moved the 17th parameter on the 16th position and so on. So finally I have 24 parameters.
After doing this I still get errors about the 25th parameter (which normally does not exist)
What am I doing wrong? Thanks in advance! Bye!
0 个评论
回答(1 个)
Kaustubha Govind
2012-7-16
Perhaps you have block.NumDialogPrms set to 25 in your MATLAB S-function code?
2 个评论
Kaustubha Govind
2012-7-17
Could you post the exact error (and stack trace if available)? That will give us a better idea of what might be causing it.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!