[Scilab-Dev] Xcos blocks source code

Sebastian Hacker hacker at stoerk-tronic.com
Wed Nov 8 12:14:54 CET 2017


Hello,

The simulation is defined the the file called "BLOCKNAME.sci"
In most cases (esp. for the built in ones) this links to the 
"BLOCKNAME.c" file.

But in Scilab installation folder /contrib/ are 2 toolbox skeletons, 
that also contain the stuff cut down to the essentials.

And:
http://www.scicos.org/documentations.html

Creating blocks there is really difficult. Stick exactly to the recipe 
provided by the skeletons, and don't forget to build for new blocks.
After that, load the toolbox.
The underlying functions can be updated in Scilab memory by executing 
the definition file, after the toolbox is loaded for quick test 
iterations (of course, the built package won't be updated).


Sincerely,
Sebastian Hacker



More information about the dev mailing list