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 Ansicht (letzte 30 Tage)
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?

Antworten (1)

David Edwards
David Edwards am 17 Mär. 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.

Kategorien

Mehr zu Subsystems finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by