MATLAB: It is posible to auto fit all blocks in a simukink file from matlab code

simulink

Hello, I add some blocks in simulink from matlab code and i don't know to arange them .

Best Answer

set_param('yourmodel/yourblock','position',[x0 y0 xwidth yheight])