<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>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.</div>

<div> </div>

<div>Now I wrote a toolbox where I call this script from a menu item (addmenu) with exec("myscrip.sce",-1). The toolbox works fine so far and run the script properly but the matrix variable is not visible in Scilab. Obviously Scilab handles variables in sce in a toolbox differently?</div>

<div> </div>

<div>The script itself works fine and provide the variable if I run the sce directly outside the toolbox. The sce has no dependencies to external SCIs.</div>

<div> </div>

<div>Who can I make this variable visible for Scilab from a toolbox?</div>

<div> </div>

<div>Thanks, Hani</div>

<div> </div>

<div>PS: The toolbox should run on Scilab 5.5.x and 6.0.x.</div></div></body></html>