Re: [Scilab-users] GUI save and import data

2016-09-13 Thread petarf
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

Re: [Scilab-users] GUI save and import data

2016-09-12 Thread petarf
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 -

Re: [Scilab-users] GUI save and import data

2016-09-12 Thread petarf
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");

Re: [Scilab-users] GUI save and import data

2016-09-12 Thread petarf
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);

[Scilab-users] GUI save and import data

2016-09-12 Thread petarf
Hello, I have created GUI whre you put some data and then it does some calculation as shown in the picture. Does anyone know how to store this data into a .txt file. Also, I want to be able to load data from .txt file? Regards, Petar

Re: [Scilab-users] GUIBUILDER problem!

2015-12-03 Thread petarf
Hi, Version of Scilab is 5.5.0 and GUIBUILDER is 2.2. Regards, Petar -- View this message in context: http://mailinglists.scilab.org/Re-GUIBUILDER-problem-tp4033157p4033167.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.

[Scilab-users] GUIBUILDER problem!

2015-11-27 Thread petarf
Hi all, When I want to make simple pushbutton the figure on which I draw zooms out and I draw some rectangle but I can't see it. It is moved outside the figure. When I click to move that push button red rectangle which represents that button is not at the same place as pushbutton and I have to

[Scilab-users] Hypermatrix and user defined function

2015-11-20 Thread petarf
Hi, I have part of code which calls user defined function: for i=1:(m+1) alfac0(i)=atan(Mc(k/2,3,i),Mc(k/2,1,i)); alfas0(i)=atan(Ms(k/2,3,i),Ms(k/2,1,i)); alfap0(i)=atan(Mp(k/2,3,i),Mp(k/2,1,i)); for j=1:k [xc,zc]=mapToCylinder(alfac0(i),Mc(j,1,i),r(i));

Re: [Scilab-users] Hypermatrix manipulation

2015-11-19 Thread petarf
Hi Rafael, Is there any possibility to separate columns or rows by comma or other sing (e.g. parentheses)? Regards, Petar -- View this message in context: http://mailinglists.scilab.org/Hypermatrix-manipulation-tp4033098p4033107.html Sent from the Scilab users - Mailing Lists Archives

Re: [Scilab-users] Hypermatrix manipulation

2015-11-19 Thread petarf
Hi Rafael, With your last advice I only manage to write comma after every value in matrix, but I need to separate entire columns. Regards, Petar -- View this message in context: http://mailinglists.scilab.org/Hypermatrix-manipulation-tp4033098p4033109.html Sent from the Scilab users -

Re: [Scilab-users] Hypermatrix manipulation

2015-11-19 Thread petarf
Hi Rafael, This matrix represents points of geometry of axial fan blade. So the output format should be something I could load into SolidWorks or similar programs, but I will investigate that as soon as I write this matrix to a file. Thank you, Petar -- View this message in context:

Re: [Scilab-users] Hypermatrix manipulation

2015-11-17 Thread petarf
Dear Rafael, My matrix is already defined M(50,3,3,3). These numbers depends on user input. It could be 100 instead 50. And also matrix is already filled. Because of this i have trouble with part where you define x,y,.. variables and later you call them in mfprintf function. Is there any