Prev: output variables - GUIDE - varargout
Next: Exporting color figures to .eps, only get black and white
From: James on 30 Apr 2010 13:21 I am programming a simple .m file to take a given set of displacements and a global stiffness matrix to determine an applied force at a set of nodes the global matrix is created from data in a .txt file that is loaded into the .m file using the load command, however after running the code one time, any consecutive runs result in displaying only the .txt data. in order to run the program again to debug the code, I am required to completely shut down matlab and reboot the program. does anyone have any advice?
From: Adam Fisher on 30 Apr 2010 14:00
"James " <trzaskos(a)buffalo.edu> wrote in message <hrf3i3$b8e$1(a)fred.mathworks.com>... > I am programming a simple .m file to take a given set of displacements and a global stiffness matrix to determine an applied force at a set of nodes > > the global matrix is created from data in a .txt file that is loaded into the .m file using the load command, however after running the code one time, any consecutive runs result in displaying only the .txt data. > > in order to run the program again to debug the code, I am required to completely shut down matlab and reboot the program. > > does anyone have any advice? you could cleanup your workspace by excuting clean <variable name(s)> |