org>
Subject: Re: [Scilab-users] GUI save and import data
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
2016 2:12 PM
To: users@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
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
I apologise for posting twice. I deleted previous post but nothing happend.
Problem was with size/lenght. Thnak you for your help!
Regards,
Petar
--
View this message in context:
http://mailinglists.scilab.org/GUI-save-and-import-data-tp4034558p4034564.html
Sent from the Scilab users -
Hi Paul,
Thank you for you fast reply. I managed to do something with save option.
function saveFile
// Gather data
Q=findobj("tag","Q"); parameter(1)=evstr(Q.string);
dpTot=findobj("tag","dpTot"); parameter(2)=evstr(dpTot.string);
rho=findobj("tag","rho");
:45 PM
To: users@lists.scilab.org
Subject: Re: [Scilab-users] GUI save and import data
Hi Paul,
Thank you for your fast replay. Now I have this problem.
function saveFile
// Gather data
//par=[];
Q=findobj("tag","Q"); par(1)=evstr(Q.string);
dpTot=findobj
Hi Paul,
Thank you for your fast replay. Now I have this problem.
function saveFile
// Gather data
//par=[];
Q=findobj("tag","Q"); par(1)=evstr(Q.string);
dpTot=findobj("tag","dpTot"); par(2)=evstr(dpTot.string);
rho=findobj("tag","rho"); par(3)=evstr(rho.string);
Hi Petar,
To write to txt, you may add a button with a callback that will call
mopen & mputl.
To read, you may combine uigetfile and mgetl functions.
Regards,
Paul
On 09/12/2016 12:25 PM, petarf wrote:
Hello,
I have created GUI whre you put some data and then it does some calculation