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 view (last 30 days)
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?

Answers (1)

David Edwards
David Edwards on 17 Mar 2017
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.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!