[Scilab-users] problems with script execution from SciNotes

Mathieu Dubois mathieu.dubois at limsi.fr
Sat Dec 8 14:46:25 CET 2012


Hi Jeff,

This sounds mysterious...

I have copied your example in a file and it works perfectly (with or 
without echo). I'm under Linux.

What's strange is that the command works inside your stripped version 
of uicontrol.dem.sce and not in your file. So it's not a graphic problem 
or a syntax error.

Do you use blank characters in your filename?
What happen if you put some printf statement? They should appear on the 
console.

Last idea: try to execute your file form the console with 
exec(<filename>)

HTH,
Mathieu

Le 06/12/2012 14:29, Jeff a écrit :
> Hello,
>
> I'm running SciLab 5.4.0 on OS X 10.6.8 and am having a problem
> opening a figure from an sce script that I am working on. The text
> of the script is:
>
> f = figure("figure_name", gettext("test window"),...
>      "BackgroundColor",[1 1 1],...
>      "Tag","test_window");
>
> Nothing else except comments.
>
> ̇When I execute the script from SciNotes I see no response. But if
> I execute from the menu "Execute->...file with echo" I do get my
> window to appear. I presume this is happening because the script
> contents is being executed from the echo'd console, but I could be
> incorrect on that.
>
> As part of my troubleshooting I made a copy of the demo script
> uicontrol.dem.sce (which works fine) and tore it down until
> everything is deleted or commented except the same code as above.
> This does produce a blank window as expected when I execute it
> from SciNotes.
>
> If I copy this command from the working (torn down)
> uicontrol.dem.sce file into a brand new sce script it doesn't show
> a window when I try to execute.
>
> I have tried executing the new scripts from the same director
> as my copy of the demo code. No change.
>
> What am I missing?
>
> Thank for your assistance. Hope I'm clear on my explanation.
>
> Warm regards,
> Jeff
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>




More information about the users mailing list