![]() A gateway is responsible for converting the data transmitted to and from the native function, and calling that native function. The native function can either be a symbol defined in an external library, or a function whose source is provided and compiled into a library at the beginning of the toolbox's compilation. A native function is called through a Scilab gateway.Ī Scilab gateway is a function, written in C or C++, that wraps a native function so that it can be called from Scilab as a primitive (by extension, the term gateway is sometimes used for all gateways provided in a toolbox). sci (see macro).Ī Scilab primitive is a Scilab function whose implementation is done in a native function, in C, C++, even Fortran, or any other language compiled natively. ![]() sce (see example), used to store Scilab code, and which can be executed using the exec function.Ī Scilab macro is a Scilab function written in Scilab code and stored in a file having the extension. Toolboxes have their own terminology for a few concepts here are the words that you will use used in the documentation, and the convention for the toolbox structure and files.Ī Scilab script is a text file having the extension. ![]() I have just a Scilab function/macro and I would like to have it into ATOMS.How can I have my module included to ATOMS?.How to migrate a toolbox from Scilab 5 to Scilab 6 To get this example on Windows, you must install "A toolbox skeleton (to extend Scilab)" component when we install Scilab. This module is a template of module that is located in SCI/contrib/toolbox_skeleton (or on the website). The examples in this document are provided in the module skeleton provided with Scilab. In the last section, we present how to upload the module on the Scilab website. Then we customize the templates to create the builder(s), the loader(s), and the Scilab help files. In the first part, we show how to structure the module by creating directories, sub-directories and files at the right place. ![]() This page describes the usual method to create, package, and distribute a Scilab external module (ATOMS Toolbox). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |