Clear Filters
Clear Filters

How to "Rotate a block" present in model by using "Command" ?

12 views (last 30 days)
I have added a block by command add_block() in my system. Now I need to arrange it properly. Is there any command to Rotate and Flip the block by command ?

Accepted Answer

Abhijit Chougule
Abhijit Chougule on 30 Dec 2013
Edited: Abhijit Chougule on 30 Dec 2013
Hey guys I got answer..
The Commands are
set(gcbh,'Orientation','left')
set(gcbh,'Orientation','up')

More Answers (1)

Sean de Wolski
Sean de Wolski on 30 Dec 2013
Use set_param to change the various block properties to what you want:

Categories

Find more on Interactive 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!