Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - English

Change language to:
Français - 日本語 - Português

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab help >> API Scilab > api_scilab

api_scilab

api_scilab is the Scilab interface to read/write data from/to Scilab memory

Description

In the previous versions of Scilab, there was no clear or easy way to extend Scilab or to use it as an embedded application.

Since Scilab 5.2.0, these issues have been tackled by API Scilab. Its provides a new consistent, documented and easy way API.

This API provides functions to read/write data from/to Scilab memory.

It provides many advantages:

  • Management of all Scilab data types

  • Consistency over all data types

  • Error management

  • Fully documented

  • Fully tested by unitary tests

  • Straight and named access (See the call_scilab API) to variables.

  • And it will be maintained over future versions of Scilab

Usually, this API is used to extend Scilab capabilities but can be used in other contexts

  • Libraires or C/C++ functions: Many librairies have been developped on the free/Open source or proprietary markets. This library can be loaded and used in a high level language like Scilab. API Scilab provides the capabilities to interact with such libraries.

  • Scilab can be used as computing engine from a third party software. This feature is called call_scilab when Scilab is used from C/C++ code or javasci when used from Java. Access to variable is done through their names (named variable).

Note that old APIs (stackX.h) will not be available after Scilab 6.0 (included).

Authors

Sylvestre Ledru

<< string API Scilab call_scilab API (Scilab engine) >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:10:05 CEST 2011