M-File Help: distributeblocks | View code for distributeblocks

# distributeblocks

Distribute blocks in Simulink block library

distributeblocks(model) equidistantly distributes blocks in a Simulink block library named model.

## Notes

- The MATLAB functions to create Simulink blocks from symbolic expresssions actually place all blocks on top of each other. This function scans a simulink model and rearranges the blocks on an equidistantly spaced grid.
- The Simulink model must already be opened before running this function!

## Author

Joern Malzahn, (joern.malzahn@tu-dortmund.de)

## See also

symexpr2slblock, doesblockexist

© 1990-2014 Peter Corke.