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

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

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

Products

Community Treasure Hunt

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

Start Hunting!