Mdl file is simulink file in matlab,you will can create a model in matlab simulink in any field then you should save your model.model save as a mdl file.
type simulink in the MATLAB command window a new window will open... you can access library browser to find the objects and add to the file. All files which will be saved using MATLAB will be saved .mdl file for more info search for any guide on MATLAB simulink
As mentioned, Mdl Files is Simulink file type. Matlab 2013 R13 and newer save the simulink file as SLX file as I remember . If you want to export the Simulink file in those virgins in Mdl typ select from file list - export to previous virgin - then it will allow you to save it as 2010 b or a R10 which has the Mdl extension
.mdl file is a model file which opens and can be edited in SIMULINK. Model file contains a block diagram consisting of different blocks connected to perform a certain task. As said by Khowaja, you can open SIMULINK environment by typing SIMULINK in MATLAB command window.
Thanks for your answers, I downloaded some sample packages from net.in that package there is one .mdl file and remaining are .m files.If i do any changes in .m files then it affect the result of .mdl files while running .can we create model filesby using .m files or as said by Khowaja.
Yes, the blocks in SIMULINK can pick the values from the work space in MATLAB, for example transfer function block in SIMULINK can take vectors of numerator and denominator polynomials coefficients from work space, and state space block can pick matrices A, B, C and D from the work space.
Another example is the S-function in SIMULINK. You write your dynamic system in matlab file and the system is solved in SIMULINK.