Modifications to GUIDE corrupts M file

I am working with a GUIDE which includes panel, axes, list box and menu options. The corresponding M file has few thousand lines of syntax. When I try to add additional components to the GUI, the M file gets corrupt and only two hundred lines of code remains in the M file. I do not get such error while working with other similar GUI's.
Any thoughts on why the M file gets corrupted ?

2 Comments

Matt J
Matt J on 8 Jan 2014
Edited: Matt J on 8 Jan 2014
Did you attempt to rename the GUI at any point before this happened?
No , I did not do that. I add lets say one radio button, right click to select the call back function -- > The code is gone !

Answers (1)

ES
ES on 8 Jan 2014
see if this helps;

1 Comment

Generate Fig File and m File Option is already in select mode. I still get the error.

This question is closed.

Asked:

on 8 Jan 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!