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

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

Hey guys I got answer..
The Commands are
set(gcbh,'Orientation','left')
set(gcbh,'Orientation','up')

Categories

Products

Community Treasure Hunt

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

Start Hunting!