Defining the port names of the Smilunk block within the S function
1 次查看(过去 30 天)
显示 更早的评论
Hello,
Is it possible to define the port names in the S-function(R2013a). Is there a function available to do that.
0 个评论
采纳的回答
Titus Edelhofer
2013-8-8
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 个评论
Kaustubha Govind
2013-8-14
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.
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Naming Conventions 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!