[Scilab-users] xcosAddToolsMenu()

Clément David clement.david at scilab-enterprises.com
Thu Mar 19 08:13:29 CET 2015


Hi Den,

Le vendredi 13 mars 2015 à 04:34 -0700, Den a écrit :
> With "xcosAddToolsMenu("example", "build_example(scs_m)")" a new Button is
> add to Xcos,
> but it doesnt work. 
> I get the message "undefined variable: build_example"
> 
> Is this the right way to call a function from a sci-Script?
> 
> And what i have to do that the button is always available?

The button is available but the callback is not loaded. Did you try to
set the callback using : xcosAddToolsMenu("example", "build_example") ?

--
Clément





More information about the users mailing list