This repository is a test toolbox for Scilab. It requires "thirdparty" directory which can be downloaded as "external-library.zip" file from the page: https://scilab.in/fossee-scilab-toolbox. The "thirdparty" directory contains compiled library for a simple "multiplication" function written in C. After copying the "thirdparty" directory to the toolbox directory, on the scilab console run "exec builder.sce" to build the toolbox and then run "exec loader.sce" to load the toolbox. Type "help" in the scilab console and browse through the help content of "test_toolbox". The external-library.zip file also contains separate instructions to work with MinGW on Windows OS.
This toolbox overall demonstrates
- How to add a function defined in C in scilab
- How to add a function defined in Scilab in Scilab
- How to write help for the added functions
- How to create a toolbox out of the above functions.
Instructions to compile, build and execute a demo of "transpose" function in SciLab
- If not already executed, run './run.sh' in 'test' directory to create the libraries for transpose function in the thirdparty directory
- If not built, then build the toolbox in Scilab using 'exec builder.sce'.
- Load the toolbox in Scilab using 'exec loader.sce'.
- Execute the "transpose" function in Scilab. E.g. : y = transpose([1 2 3; 4 5 6]);
- See the help section for more information on the "transpose" function in Scilab, using 'help transpose'.