M-File Help: simulinkext | View code for simulinkext

# simulinkext

Return file extension of Simulink block diagrams.

str = simulinkext() is either

- '.mdl' if Simulink version number is less than 8
- '.slx' if Simulink version numberis larger or equal to 8

## Notes

The file extension for Simulink block diagrams has changed from Matlab 2011b to Matlab 2012a. This function is used for backwards compatibility.

## Author

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

## See also

symexpr2slblock, doesblockexist, distributeblocks

© 1990-2014 Peter Corke.