Matlab 2015b corrupting files

1 view (last 30 days)
Adam Stevens
Adam Stevens on 12 Jan 2016
Commented: Steven Lord on 12 Jan 2016
I am having serious issues with the new version of Matlab messing up Simulink files. I think one of the issues is when I use the save as previous version feature some settings are not saved. Also had issues of zipping the file and while it is still zipped everything looks ok but when it is unzipped some settings have been changed. Another big issue is S-Functions not being built in the same folder as the model file. For instance if I copy an s-function from one model to another model in a different folder, when I try to build the s-function for the current model it wants to put it in the folder of the model from which it was copied. Even if I change the name of the s-function there is no way to tell the s-function builder what folder I would like to save the new compiled version. I can't explain everything that is happening but basically my files are getting corrupted in the new version of Matlab.

Answers (1)

Steven Lord
Steven Lord on 12 Jan 2016
Please send a sample file that became corrupted to Technical Support and work with the Support staff directly to determine the cause of this problem. You can contact Support using the Contact Us link in the upper-right corner of mathworks.com.
  2 Comments
Adam Stevens
Adam Stevens on 12 Jan 2016
Well, when I say corrupted I mean currupted from my point of view. The technical support staff would not be able to tell it was corrupted. For instance I was using a Repeating tabel block and had time values:[0 T_sw/2 T_sw] and Output values: [0 1 0]. But when I opened the file in 2014b the values had chaged to time values: [0 2] Output values:[0 2]. Which I think are the default settings for this block.
Steven Lord
Steven Lord on 12 Jan 2016
You're seeing behavior that is not what you expected. It may be that the behavior you're seeing is the correct behavior, in which case Support can explain that and potentially explain how to modify your code and/or model to do what you want. Or it could be that the behavior you're seeing is a bug.
Send them simple reproduction steps (Create a model with blocks X, Y, and Z. Connect them like so, set the block properties like that, and save.) then describe what you see and what you expect and ask why those two are different.

Sign in to comment.

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!