Defining the port names of the Smilunk block within the S function
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
Is it possible to define the port names in the S-function(R2013a). Is there a function available to do that.
0 Kommentare
Akzeptierte Antwort
Titus Edelhofer
am 8 Aug. 2013
Hi,
no there isn't. But it is best practice to mask the S-function block anyway (for passing the parameters). In the mask you can name the ports of course as you like.
Titus
5 Kommentare
Kaustubha Govind
am 14 Aug. 2013
If the labels are coming from another C-function, would you be open to creating a MEX-function wrapper to it, and calling the MEX-function from a Mask that you can create on top of the S-function block.
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Naming Conventions 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!