Hi, Nimish, As far as I know, the newer Simulink versions are (still) backwards compatible with the .mdl file format. The .slx file format is NOT backwards compatible with earlier versions of Simulink. The xps_library and casper_library block libraries are therefore still in the .mdl file format so as to be compatible with as wide a range of Simulink versions as possible.
Are you sure that the new Simulink requires that you save the model files in .slx format or do they just recommend that you do that? If you've upgraded your mlib_devel version, you might want to try running "update_casper_blocks(bdroot)" with your block diagram opened. That will (try to) replace the CASPER blocks in your model with new copies of the blocks from the newer mlib_devel. Unfortunately, I have not been able to make this script work for all possibilities so you might not be able to use it, but it's certainly worth a try as it updates everything automatically for you. If you try it and encounter problems, please let me know (preferably via the list). Thanks, Dave On Sep 23, 2013, at 3:22 PM, Nimish Sane wrote: > Hi all, > > We recently decided to upgrade our toolflow from 11.5 (and Matlab 2009b) to > 14.5 (and Matlab 2012b). I have followed all the instruction on the Wiki page > and had no issues in installation, etc. > > I now have to port my model files to be able to use with these versions. All > model files have now been changed to .slx files. As per MATLAB documentation > (http://www.mathworks.com/help/simulink/examples/converting-from-mdl-to-slx-model-file-format-in-a-simulink-project.html > OR > http://www.mathworks.com/help/simulink/ug/upgrade-model-files-to-slx-and-preserve-revision-history.html), > one has to open .mdl files and save them as .slx and that should work. > > I am doing this and also manually replacing some yellow/green blocks from the > library (updated couple of days ago). (One question here is should the > xps_library be also changed from .mdl to .slx?) > > If I do routine "Update Diagram", there are errors (sometimes problems with > initialization commands, sometimes no message), and MATLAB at times crashes > with segmentation faults. > > Does one have experience porting old .mdl files to new .slx files (and > toolflow in general)? Does one need to do something to get this working? > > Thanks in advance, > > Nimish > > > > -- > Nimish Sane > > Center for Solar-Terrestrial Research > New Jersey Institute of Technology > University Heights > Newark, NJ 07102-1982 USA > Tel: (973) 642 4958 > Fax: (973) 596 3617 > [email protected]

