Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
Matt
Posts:
74
Registered:
4/23/12
|
|
Problem loading data back into fields
Posted:
Dec 7, 2012 6:54 AM
|
|
Hello !
I have used this function with success in the past, but it seems that it doesn't work for my new project. Basically I am saving "edit text" boxes content to a .mat file, which seem to work fine, but when I try to load that file and put the values back into the "edit text" boxes, I get this error :
---------------- Error using handle.handle/set Invalid or deleted object.
set(handles.var1_edittext, 'string', state.var1_edittext); ----------------
I would like to put back the value "var1" into the "var1_edittext" box, but it doesn't work. To save it to my .mat file I've used the following function :
---------------- state.var1_edittext = get(handles.var1_edittext, 'string'); ----------------
I am confused because I have used the same technic for previous projects and it worked !
Thanks a lot in advance ! :-)
|
|
|
|