M-File Help: doesblockexist | View code for doesblockexist

# doesblockexist

Check existence of block in Simulink model

res = doesblockexist(mdlname, blockaddress) is a logical result that indicates whether or not the block blockaddress exists within the Simulink model mdlname.

## Author

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

## See also

symexpr2slblock, distributeblocks

© 1990-2014 Peter Corke.