I wrote a SCE-Script where you can read datafiles into a matrix and specify the import parameter AND the name of matrix where the data is stored in a GUI. Because variables in sce are visible to Scilab I could work with the matrix which name was specified in the GUI in Scilab's console.
Now I w
Le 10/05/2019 à 11:42, Hani Andreas Ibrahim a écrit :
I wrote a SCE-Script where you can read datafiles into a matrix and
specify the import parameter AND the name of matrix where the data is
stored in a GUI. Because variables in sce are visible to Scilab I
could work with the matrix which name
Hello,
You can use "resume" to return values in caller environment.
In case of callbacks from gui interaction, caller is always "console" scope.
In your callback do something like "data = resume(a);"
That's create or overwrite "data" with the contents of "a"
Example :
xdel(winsid());
clear cre
sume(mat_name)"); (see above) but it does not work.
Thanks, Hani
Gesendet: Freitag, 10. Mai 2019 um 14:43 Uhr
Von: "Antoine ELIAS"
An: users@lists.scilab.org
Betreff: Re: [Scilab-users] Make Variable visible in Scilab from a SCE-script in a toolbox
Hello,
You can