Re: [Scilab-users] uicontrol & wiki

2016-12-20 Thread Samuel Gougeon
Le 20/12/2016 22:24, Samuel Gougeon a écrit : If i understand well your question -- rather the same than Jens's one, that likes loops too, mainly "while" ones embeding xclick() :) --, i would answer the same that i did to him: A callback is a local (asynchronous) script that is executed each t

Re: [Scilab-users] uicontrol & wiki

2016-12-20 Thread Samuel Gougeon
Le 20/12/2016 21:45, paul.carr...@free.fr a écrit : Hi I've been looking to the wiki and an interesting article speaking about GUI developments (https://fr.wikibooks.org/wiki/Découvrir_Scilab/Créer_une_interface_graphique_GUI

Re: [Scilab-users] uicontrol & wiki

2016-12-20 Thread paul . carrico
hi Samuel .. I think there's a misunderstanding in my questioning... I'm wondering why this code works (under Scilab 5.5.2 at least) i.e. why I can plot several points Paul Le 2016-12-20 22:10, Samuel Gougeon a écrit : > Hello Paul, > > Le 20/12/2016 21:45, paul.carr...@free.fr a écrit : >

Re: [Scilab-users] uicontrol & wiki

2016-12-20 Thread Samuel Gougeon
Hello Paul, Le 20/12/2016 21:45, paul.carr...@free.fr a écrit : ###" mode(0) f = scf(0); e = uicontrol(f, "style", "edit", ... "position", [0 0 100 20]); t = uicontrol(f, "style", "text", ... "position", [200 0 100 20], ... "stri

[Scilab-users] uicontrol & wiki

2016-12-20 Thread paul . carrico
Hi I've been looking to the wiki and an interesting article speaking about GUI developments (https://fr.wikibooks.org/wiki/Découvrir_Scilab/Créer_une_interface_graphique_GUI - in French language). I've a naive question on the code hereafter: why is it possible to implement several values? no loo

Re: [Scilab-users] Printf on console in a c file

2016-12-20 Thread Tim Wescott
On Tue, 2016-12-20 at 15:02 +0100, Perrichon wrote: > Hello, >   > I’d like to print in a C file (inside a palette) on the console, but > nothing appends. > Have anybody an idea on how to proceed ? >   > I’ve also try something  like : > fprintf(stderr,"\n Lower limiter greater then Upper one"); >

[Scilab-users] Impossibility to generate C code with a basic sum example

2016-12-20 Thread Perrichon
Dear Xcos team, I try to generate a C code with a basic super bloc containing only a sum with 2 inputs.(out = in1 + in2) The generator doesn't produce any code and signals 3 errors Error 1 : "Not enough information to find ports sizes. I try to find the problem" Error 2: "Impossible de

[Scilab-users] Using "spec" with "parallel_run"

2016-12-20 Thread Eduardo Martini
Hi, I am running several simulation in which I have to get eigenvalues several times: the process seems to be easy to paralelize as any calculation is independent from the others. How ever I am getting errors when using "parallel_run" :  I manage to create a simple example of the problem: "functi

Re: [Scilab-users] xclick with output argument cdmenu

2016-12-20 Thread Jens Simon Strom
Hello Rafael, getcolor( ) was the best source. It led to xdel() x=[-1 +1]; winnum=1; win=string(winnum); cf=figure(winnum); plot(x,x) C=["Green" "Red" "Abort"];//case name strings addmenu(winnum, C(1)); C1="execstr("+C(1)+"_"+win+"(1))"; addmenu(winnum, C(2)); C2="execstr("+C(2)+"_"+

[Scilab-users] Printf on console in a c file

2016-12-20 Thread Perrichon
Hello, I'd like to print in a C file (inside a palette) on the console, but nothing appends. Have anybody an idea on how to proceed ? I've also try something like : fprintf(stderr,"\n Lower limiter greater then Upper one"); but I get errors at compile time, includind stdio.h Since