Accessing S function parameters through m scripts

3 views (last 30 days)
Hi,
I have a S function builder block in which there are number of inports and outports.I want to acces the list of these i/o's ports and also want to add some more or delete some ports. How can I get the all the information of the input and outputs of the S function builder by writing m scripts.

Answers (1)

Kaustubha Govind
Kaustubha Govind on 29 Aug 2012
I don't know of a published command-line API for the S-function Builder, but you might be able to play around some, based on the commands I previously posted here. I wonder if the Legacy Code Tool is a better mechanism for you to use than the S-function Builder block if you want better command-line control.

Categories

Find more on Simulink in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!