Re: [Scilab-users] Make Variable visible in Scilab from a SCE-script in a toolbox

2019-05-10 Thread Hani Andreas Ibrahim
Hi Stéphane and Antoine,   thank you for your prompt response. I tried resume but maybe I did not understand a callback at all.   My software:   The caller shortened => DM_datamenu.sci Start it in the toolbox.start file with DM_datamenu("start")   ->   function [] =

Re: [Scilab-users] Make Variable visible in Scilab from a SCE-script in a toolbox

2019-05-10 Thread Antoine ELIAS
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

Re: [Scilab-users] Make Variable visible in Scilab from a SCE-script in a toolbox

2019-05-10 Thread Stéphane Mottelet
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

[Scilab-users] Make Variable visible in Scilab from a SCE-script in a toolbox

2019-05-10 Thread Hani Andreas Ibrahim
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