[Scilab-users] GUI save and import data

Rafael Guerra jrafaelbguerra at hotmail.com
Tue Sep 13 16:14:07 CEST 2016


Hi,



Without seeing the details of your code and with no experience with findobj, from what I could understand from the help file, the command lines like:   Q=findobj("tag","Q");

do not sound good.

As findobj outputs an handle to your uicontrol object, you could try:

  hdl = findobj("tag","Q");

  Q = hdl.Q;    // or:  Q = evstr(hdl.Q);   if data stored as string

  dpTot =  hdl.dpTot;  // etc..



Regards,

Rafael



-----Original Message-----
From: users [mailto:users-bounces at lists.scilab.org] On Behalf Of petarf
Sent: Tuesday, September 13, 2016 2:12 PM
To: users at lists.scilab.org
Subject: Re: [Scilab-users] GUI save and import data



Hi, I managed to write function to place new values from txt. file instead of

old values. But now when I run the calculation



Q=findobj("tag","Q"); par(1)=evstr(Q.string);

 dpTot=findobj("tag","dpTot"); par(2)=evstr(dpTot.string);



these set of lines do not read new values. String Q is evaluated as old

value. Any ideas?



Regards,

Petar







--

View this message in context: http://mailinglists.scilab.org/GUI-save-and-import-data-tp4034558p4034566.html

Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.

_______________________________________________

users mailing list

users at lists.scilab.org<mailto:users at lists.scilab.org>

http://lists.scilab.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20160913/7a02cc6c/attachment.htm>


More information about the users mailing list