Are there any restrictions for selected tunable parameters to appear in the generated s-function mask? Some selected tunable parameters won't show up in the S-function mask.
1 次查看(过去 30 天)
显示 更早的评论
When building an S-function for a subsystem, one can select parameters to be tunable through a GUI. In my case, from all selected tunable parameters, just a few appeared in the generated s-function mask. Some of them simply did not appear in the generated S-function mask. This happened when I generated the S-function by right-clicking the subsystem and then selecting the "build subsystem" option and also by right-clicking and selecting the auto "Create S-function". Are there any restrictions for tunable parameters creation? Can anyone help?
0 个评论
回答(1 个)
David Edwards
2017-3-17
I've encountered this situation. I'm not sure of the root cause, but in my case, I had both singles and doubles as tunable parameters. When I made them all doubles, it fixed the issue. I think the model was expecting doubles. Not sure if that helps.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subsystems 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!