Filter löschen
Filter löschen

how to name states and outputs in level 1 sfunction

1 Ansicht (letzte 30 Tage)
Shyam Mudiraj
Shyam Mudiraj am 9 Mär. 2013
Is there a way to give names to states and outputs in level 1 sfunction in simulink?
  2 Kommentare
Walter Roberson
Walter Roberson am 9 Mär. 2013
Is there a reason you are using Level 1 sfunctions ? Mathworks recommends that only Level 2 functions are to be used.
Shyam Mudiraj
Shyam Mudiraj am 11 Mär. 2013
I have a code from someone else written using level 1 sfunction. I am trying to make it easy for myself by adding the signal names.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Kaustubha Govind
Kaustubha Govind am 11 Mär. 2013
I'm not 100% sure, but my best guess is that there isn't a way to name them in Level-1 S-functions. You may find it fairly simple to convert it to a Level-2 S-function however, when you can assign names.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Coder 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