How can we add a If-action-subsystem to a any model using m-Scripts ?

6 views (last 30 days)
I am using a script to add blocks in the model ( using add_block function )
Can any one tell me how can i add a "If Action Subsystem" in my model
how to connect the line between If block and if action subsystem using scripts ?

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 25 Jul 2013
Please see here for the full list of command-line functions related to Simulink. Specifically, to add a block to a model, you need add_block, and to add a line, you need add_line.

More Answers (0)

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!