Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Scilab

From Wikipedia, the free encyclopedia
Open-source numerical computation software
icon
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Scilab" – news ·newspapers ·books ·scholar ·JSTOR
(April 2009) (Learn how and when to remove this message)
Scilab
Screenshot of Scilab 6.1
DeveloperDassault Systèmes
Stable release
2026.0.1[1] Edit this on Wikidata / 5 February 2026; 12 days ago (5 February 2026)
Written inScilab,C,C++,Java,Fortran
Operating systemBSDs (e.g.,FreeBSD),Linux,macOS,Windows
Available inEnglish,German,Spanish,French,Italian,Japanese,Portuguese (Brazil),Russian,Ukrainian,Chinese,Czech,Polish
TypeTechnical computing
LicenseGPLv2, previouslyCeCILL
Websitewww.scilab.org
Repository

Scilab is afree and open-source, cross-platformnumerical computational package and ahigh-level, numerically orientedprogramming language. It can be used forsignal processing,statistical analysis,image enhancement,fluid dynamics simulations,numerical optimization, and modeling, simulation of explicit and implicitdynamical systems and (if the corresponding toolbox is installed) symbolic manipulations.[2][3][4]

Scilab is one of the two major open-source alternatives toMATLAB, the other one beingGNU Octave.[5][6][7][8] Scilab puts less emphasis on syntactic compatibility with MATLAB than Octave does,[5][9][10] but it is similar enough that some authors suggest that it is easy to transfer skills between the two systems.[11]

Introduction

[edit]

Scilab is a high-level, numerically oriented programming language. The language provides aninterpreted programming environment, withmatrices as the maindata type. By using matrix-based computation,dynamic typing, andautomatic memory management, many numerical problems may be expressed in a reduced number of code lines, as compared to similar solutions using traditional languages, such asFortran,C, orC++. This allows users to rapidly constructmodels for a range of mathematical problems. While the language provides simple matrix operations such as multiplication, the Scilab package also provides a library of high-level operations such ascorrelation and complex multidimensional arithmetic.

Scilab also includes a free package calledXcos for modeling and simulation of explicit and implicit dynamical systems, including both continuous and discrete sub-systems. Xcos is the open source equivalent toSimulink fromthe MathWorks.

As thesyntax of Scilab is similar to MATLAB, Scilab includes a source code translator for assisting the conversion of code from MATLAB to Scilab. Scilab is available free of cost under anopen source license. Due to the open source nature of the software, some user contributions have been integrated into the main program.

Object oriented programming was introduced in theScilab 2026.0.0 release with theclassdef command.

Syntax

[edit]

Scilab syntax is largely based on the MATLAB language. The simplest way to execute Scilab code is to type it in at theprompt,-->, in the graphical command window. In this way, Scilab can be used as an interactive mathematicalshell.

Hello World! in Scilab:

disp('Hello World');

Plotting a 3D surface function:

// A simple plot of z = f(x,y)t=[0:0.3:2*%pi]';z=sin(t)*cos(t');plot3d(t,t',z)

Determining the equivalent single index corresponding to a given set of subscript values:[12]

functionI=sub2ind(dims,varargin)//I = sub2ind(dims,i1,i2,..) returns the linear index equivalent to the//row,  column, ... subscripts in the arrays i1,i2,..  for an matrix of//size dims.//I = sub2ind(dims,Mi) returns the linear index//equivalent to the n subscripts in the columns of the matrix Mi for a matrix//of size dims.d=[1;cumprod(matrix(dims(1:$-1),-1,1))]fori=1:size(varargin)ifvarargin(i)==[]thenI=[],return,endendifsize(varargin)==1then//subindices are the columns of the argumentI=(varargin(1)-1)*d+1else//subindices are given as separated argumentsI=1fori=1:size(varargin)I=I+(varargin(i)-1)*d(i)endendendfunction

Toolboxes

[edit]

Scilab has many contributed toolboxes for different tasks, such as

  • Scilab Image Processing Toolbox (SIP) and its variants (such as SIVP)
  • Scilab Wavelet Toolbox
  • Scilab Java and .NET Module
  • Scilab Remote Access Module

More are available on ATOMS Portal or the Scilab forge.

History

[edit]

Scilab was created in 1990 by researchers fromINRIA andÉcole nationale des ponts et chaussées (ENPC). It was initially namedΨlab[13](Psilab). The Scilab Consortium was formed in May 2003 to broaden contributions and promote Scilab as worldwide reference software in academia and industry.[14] In July 2008, in order to improve the technology transfer, the Scilab Consortium joined the Digiteo Foundation.

Scilab 5.1, the first release compiled forMac, was available in early 2009, and supportedMac OS X 10.5, a.k.a.Leopard. Thus, OSX 10.4,Tiger, was never supported except by porting from sources.Linux andWindows builds had been released since the beginning, withSolaris support dropped with version 3.1.1, andHP-UX dropped with version 4.1.2 after spotty support.

In June 2010, the Consortium announced the creation of Scilab Enterprises.[15] Scilab Enterprises develops and markets, directly or through an international network of affiliated services providers, a comprehensive set of services for Scilab users. Scilab Enterprises also develops and maintains the Scilab software. The ultimate goal of Scilab Enterprises is to help make the use of Scilab more effective and easy.

In February 2017 Scilab 6.0.0 was released which leveraged the latest C++ standards and lifted memory allocation limitations.

Since July 2012, Scilab is developed and published by Scilab Enterprises and in early 2017 Scilab Enterprises was acquired by Virtual Prototyping pioneerESI Group[16]

Since 2019 and Scilab 6.0.2, theUniversity of Technology of Compiègne provides resources to build and maintain the macOS version.

After 5 years of Scilab versions made by ESI Group, Scilab operational team joins Dassault Systèmes in 2022.[17]

Scilab Cloud App & Scilab Cloud API

[edit]

Since 2016 Scilab can be embedded in a browser and be called via an interface written in Scilab or an API.

This new deployment method has the notable advantages of masking code & data as well as providing large computational power.[18]

These features have not been included in the open source version of Scilab and are still proprietary developments.

See also

[edit]

References

[edit]
  1. ^"Scilab 2026.0.1". Retrieved5 February 2026.
  2. ^Holopainen, Timo (2000)."Modelling and simulation of multitechnological machine systems"(PDF).
  3. ^Guenther, Raidl (May 1998). "An improved genetic algorithm for the multiconstrained 0-1 knapsack problem".1998 IEEE International Conference on Evolutionary Computation Proceedings. IEEE World Congress on Computational Intelligence (Cat. No.98TH8360). pp. 207–211.CiteSeerX 10.1.1.20.6454.doi:10.1109/ICEC.1998.699502.ISBN 978-0-7803-4869-1.S2CID 2337792.
  4. ^Philippe., Roux (2016-03-29).Scilab: I. Fundamentals, from theory to practice. Paris, France.ISBN 978-2-8227-0293-5.OCLC 1003630046.{{cite book}}: CS1 maint: location missing publisher (link)
  5. ^abThomas Trappenberg (2010).Fundamentals of Computational Neuroscience. Oxford University Press. p. 361.ISBN 978-0-19-956841-3.
  6. ^A Muhammad; V Zalizniak (2011).Practical Scientific Computing.Woodhead Publishing. p. 3.ISBN 978-0-85709-226-7.
  7. ^Bernard A. Megrey; Erlend Moksness (2008).Computers in Fisheries Research. Springer Science & Business Media. p. 345.ISBN 978-1-4020-8636-6.
  8. ^Raul Raymond Kapuno (2008).Programming for Chemical Engineers Using C, C++, and MATLAB. Jones & Bartlett Publishers. p. 365.ISBN 978-1-934015-09-4.
  9. ^Russell L. Herman (2013).A Course in Mathematical Methods for Physicists. CRC Press. p. 42.ISBN 978-1-4665-8467-9.
  10. ^Alain Vande Wouwer; Philippe Saucez; Carlos Vilas (2014).Simulation of ODE/PDE Models with MATLAB, OCTAVE and SCILAB: Scientific and Engineering Applications. Springer. pp. 114–115.ISBN 978-3-319-06790-2.
  11. ^Mark A. Haidekker (2013).Linear Feedback Controls: The Essentials. Newnes. p. 3.ISBN 978-0-12-405513-1.
  12. ^pygments/tests/examplefiles/scilab/scilab.sci onGitHub
  13. ^"META2.3.1.1.html META2.3.1.1".
  14. ^"SCILAB Consortium launched". 2003.
  15. ^"SCILAB Enterprises announced". 2010.{{cite web}}:|archive-url= is malformed: timestamp (help)
  16. ^"ESI Group: Acquisition of Scilab Enterprises, Publisher of Scilab Open Source Analytical Computational Software". Archived fromthe original on 2017-08-24. Retrieved2017-08-24.
  17. ^"Scilab History". Retrieved2025-03-20.
  18. ^"Scilab Cloud".Scilab.io. Archived fromthe original on 2017-10-08. Retrieved2017-10-08.

Further reading

[edit]
  • Stephen L. Campbell; Jean-Philippe Chancelier; Ramine Nikoukhah (2006).Modeling and Simulation in Scilab/Scicos. New York: Springer.ISBN 978-0-387-27802-5.

External links

[edit]
Wikimedia Commons has media related toScilab.
Free
Discontinued
Proprietary
Open-source
Proprietary
Discontinued
Brands
Products
Related
People
International
National
Retrieved from "https://en.wikipedia.org/w/index.php?title=Scilab&oldid=1328913029"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp