Scilab 5.5.2
- Scilab Help
- Scilab
- Differential calculus, Integration
- Elementary Functions
- Linear Algebra
- Interpolation
- CACSD (Computer Aided Control Systems Design)
- Polynomials
- Signal Processing
- FFTW
- Special Functions
- Randlib
- ARnoldi PACKage (ARPACK binding)
- Statistics
- Sparse Matrix
- UMFPACK Interface (sparse)
- Optimization and Simulation
- Genetic Algorithms
- Simulated Annealing
- XML Management
- HDF5 Management
- Files : Input/Output functions
- Input/Output functions
- Graphics
- Graphics : exporting and printing
- GUI
- Data Structures
- Parameters
- Boolean
- Integers
- Strings
- Sound file handling
- Time and Date
- Output functions
- Xcos
- Spreadsheet
- Console
- History manager
- Matlab binary files I/O
- Matlab to Scilab Conversion Tips
- Compatibility Functions
- Advanced functions
- Development tools
- Demo Tools
- Dynamic/incremental Link
- ATOMS
- Tcl/Tk Interface
- Text editor (Scinotes)
- UI Data
- Online help management
- Parallel
- Modules manager
- Scilab MPI
- Localization
- API Scilab
- call_scilab API (Scilab engine)
- Java Virtual Machine (JVM)
- Java from Scilab
- Java Interface
- Intersci
- Preferences
- Windows tools
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
Xcos
- Batch functions
- lincos — Constructs by linearization a linear state-space model from a general dynamical system described by a Xcos diagram
- scicos_simulate — Function for running xcos simulation in batch mode
- scicosim — xcos (batch) simulation function
- steadycos — Finds an equilibrium state of a general dynamical system described by a xcos diagram
- xcosValidateBlockSet — Function to validate Xcos Block interface function.
- xcosValidateCompareBlock — Function to compare two Xcos Blocks.
- xcos_simulate — Function for running xcos simulation in batch mode
- palettes
- Annotations palette
- Annotations_pal — Annotations palette
- TEXT_f — Free annotation
- Commonly used blocks palette
- Commonlyusedblocks_pal — Commonly used blocks palette
- LOGICAL_OP — Logical operation
- RELATIONALOP — Relational operation
- Continuous time systems palette
- Continuous_pal — Continuous time systems palette
- CLINDUMMY_f — Dummy
- CLR — Continuous transfer function
- CLSS — Continuous state-space system
- DERIV — Derivative
- INTEGRAL_f — Integration
- INTEGRAL_m — Integration
- PID — PID regulator
- TCLSS — Continuous linear system with jump
- TIME_DELAY — Time delay
- VARIABLE_DELAY — Variable delay
- Demonstrations blocks palette
- Discontinuities palette
- discontinuities_pal — discontinuities palette
- BACKLASH — Backlash
- DEADBAND — Deadband
- HYSTHERESIS — Hystheresis
- RATELIMITER — Rate limiter
- SATURATION — Saturation
- Discrete time systems palette
- Discrete_pal — Discrete time systems palette
- DELAYV_f — Variable delay
- DELAY_f — Discrete time delay
- DLR — Discrete transfer function
- DLRADAPT_f — Discrete Zero-Pole
- DLSS — Discrete state-space system
- DOLLAR_f — Delay operator
- REGISTER — Shift Register
- Electrical palette
- Electrical_pal — Electrical palette
- CCS — Controllable Modelica current source
- CVS — Controllable Modelica voltage source
- Capacitor — Electrical capacitor
- ConstantVoltage — Electrical DC voltage source
- CurrentSensor — Electrical current sensor
- Diode — Electrical diode
- Ground — Ground (zero potential reference)
- Gyrator — Modelica Gyrator
- IdealTransformer — Ideal Transformer
- Inductor — Electrical inductor
- NMOS — Simple NMOS Transistor
- NPN — NPN transistor
- OpAmp — Ideal opamp (norator-nullator pair)
- PMOS — Simple PMOS Transistor
- PNP — PNP transistor
- PotentialSensor — Potential sensor
- Resistor — Electrical resistor
- SineVoltage — Sine voltage source
- Switch — Non-ideal electrical switch
- VVsourceAC — Variable AC voltage source
- VariableResistor — Electrical variable resistor
- VoltageSensor — Electrical voltage sensor
- VsourceAC — Electrical AC voltage source
- Event handling palette
- Events_pal — Event handling palette
- ANDBLK — Activation and
- ANDLOG_f — Logical and
- CEVENTSCOPE — Activation scope
- CLKFROM — Receives data from a corresponding CLKGOTO
- CLKGOTO — Pass block input to CLKFROM block
- CLKGotoTagVisibility — Define Scope of CLKGOTO tag visibility
- CLKSOMV_f — Activation union
- EDGE_TRIGGER — EDGE_TRIGGER block
- ESELECT_f — Synchronous block Event-Select
- EVTDLY_c — Event delay
- EVTGEN_f — Event generator
- EVTVARDLY — Event variable delay
- Extract_Activation — Extract_Activation block
- HALT_f — Halt
- IFTHEL_f — Synchronous block If-Then-Else
- MCLOCK_f — MCLOCK_f title
- MFCLCK_f — MFCLCK_f title
- M_freq — Multiple Frequencies
- VirtualCLK0 — Triggered Always Active Blocks
- freq_div — Frequency division
- Implicit palette
- Implicit_pal — Implicit palette
- CONSTRAINT_c — Constraint
- DIFF_f — Derivative
- Integer palette
- Integer_pal — Integer palette
- BITCLEAR — Clear a Bit
- BITSET — Set a Bit
- CONVERT — Data Type Conversion
- DFLIPFLOP — D flip-flop
- DLATCH — D latch flip-flop
- EXTRACTBITS — Bits Extraction
- INTMUL — Integer matrix multiplication
- JKFLIPFLOP — JK flip-flop
- LOGIC — Combinatorial Logic
- SHIFT — Shift/Rotates Bits
- SRFLIPFLOP — SR flip-flop
- Lookup tables palette
- Lookuptables_pal — Lookup tables palette
- INTRP2BLK_f — 2D interpolation
- INTRPLBLK_f — Interpolation
- LOOKUP_f — Lookup table
- Math operations palette
- Mathoperations_pal — Math operations palette
- ABS_VALUE — Absolute value
- BIGSOM_f — Scalar or vector Addition/Soustraction
- COSBLK_f — Cosine
- EXPBLK_m — Exponential of a scalar
- GAINBLK_f — Gain
- INVBLK — Inverse
- LOGBLK_f — Logarithm
- MATMAGPHI — Complex from/to Magnitude and Angle Conversion
- MATZREIM — Complex decomposition/composition
- MAXMIN — Maximum or minimum value of vectors's elements
- MAX_f — Maximum value of a vector's elements
- MIN_f — Minimum value of a vector's elements
- POWBLK_f — Array power
- PRODUCT — Element-wise vector multiplication/division
- PROD_f — Element-wise product
- SIGNUM — Sign
- SINBLK_f — Sine
- SQRT — Square root
- SUMMATION — Matrix Addition/Subtraction
- SUM_f — Addition
- TANBLK_f — Tangent
- TrigFun — Trigonometric function
- Matrix operation palette
- Matrix_pal — Matrix operation palette
- CUMSUM — Cumulative Sum
- EXTRACT — Matrix extractor
- EXTTRI — Triangular or Diagonal Extraction
- MATBKSL — Left matrix division
- MATCATH — Horizontal Concatenation
- MATCATV — Vertical Concatenation
- MATDET — Matrix Determinant
- MATDIAG — Create Diagonal Matrix
- MATDIV — Matrix division
- MATEIG — Matrix Eigenvalues
- MATEXPM — Matrix Exponential
- MATINV — Matrix Inverse
- MATLU — LU Factorization
- MATMUL — Matrix Multiplication
- MATPINV — Matrix PseudoInverse
- MATRESH — Matrix Reshape
- MATSING — SVD Decomposition
- MATSUM — Sum of Matrix's Elements
- MATTRAN — Matrix Transpose
- MATZCONJ — Conjugate of Matrix's Elements
- RICC — Riccati Equation
- ROOTCOEF — Polynomial Coefficient Computation
- SUBMAT — Sub-matrix Extraction
- Port & Subsystem palette
- Signal processing palette
- Signalprocessing_pal — Signal processing palette
- QUANT_f — Quantization
- SAMPHOLD_m — Sample and hold
- Signal routing palette
- Signalrouting_pal — Signal routing palette
- DEMUX — Demultiplexer
- EXTRACTOR — Extractor
- FROM — FROM Receives data from a corresponding GOTO
- FROMMO — Receives data from a corresponding GOTOMO
- GOTO — GOTO Pass block input to From block
- GOTOMO — Pass block input to FROMMO block
- GotoTagVisibility — Define Scope of GOTO tag visibility
- GotoTagVisibilityMO — Define Scope of GOTOMO tag visibility
- ISELECT_m — Iselect
- MUX — Multiplexer
- M_SWITCH — Multi-port switch
- NRMSOM_f — Merge data
- RELAY_f — Relay
- SELECT_m — Select
- SELF_SWITCH — Switch
- SWITCH2_m — Switch2
- SWITCH_f — Switch
- Sinks palette
- Sinks_pal — Sinks palette
- AFFICH_m — Display
- BARXY — y=f(x) animated viewer
- CANIMXY — y=f(x) animated viewer
- CANIMXY3D — z=f(x,y) animated viewer
- CFSCOPE — Floating point scope
- CMAT3D — Matrix z values 3D viewer
- CMATVIEW — Matrix Colormapped viewer
- CMSCOPE — Multi display scope
- CSCOPE — Single Display Scope
- CSCOPXY — y=f(x) permanent viewer
- CSCOPXY3D — z=f(x,y) permanent viewer
- ENDBLK — END block
- END_c — END_c block
- TOWS_c — Data to Scilab worspace
- TRASH_f — Trash block
- WFILE_f — Write to output file. This function is obsolete.
- WRITEAU_f — Write AU sound file
- WRITEC_f — Write to C binary file
- Sources palette
- Sources_pal — Sources palette
- CLOCK_c — Activation clock
- CONST_m — Constant
- CURV_f — Curve
- Counter — Counter
- FROMWSB — Data from Scilab workspace to Xcos
- GENSIN_f — Sine wave generator
- GENSQR_f — Square wave generator
- Modulo_Count — Modulo counter (0 to N counter)
- PULSE_SC — Pulse Generator
- RAMP — Ramp
- RAND_m — Random generator
- READAU_f — Read AU sound file
- READC_f — Read binary data
- RFILE_f — Read from input file
- SAWTOOTH_f — Sawtooth generator
- STEP_FUNCTION — Step Function
- SampleCLK — Sample Time Clock
- Sigbuilder — Signal creator/generator
- TIME_f — Time
- TKSCALE — Adjust value with a graphical widget.
- Thermohydraulics palette
- ThermoHydraulics_pal — Thermal-Hydraulics toolbox
- Bache — Thermal-hydraulic tank (reservoir)
- Flowmeter — Thermal-hydraulic Flow sensor
- PerteDP — Thermal-hydraulic pipe
- PuitsP — Thermal-hydraulic drain (well)
- SourceP — Thermal-hydraulic constant pressure source
- VanneReglante — Thermal-hydraulic control valve
- User defined functions palette
- Userdefinedfunctions_pal — User defined functions palette
- CBLOCK — New C
- DSUPER — Masked super block
- EXPRESSION — Mathematical expression
- MBLOCK — Modelica generic block
- SUPER_f — Super block
- c_block — C language
- fortran_block — Fortran
- generic_block3 — Generic block
- scifunc_block_m — Scilab function block
- Zero crossing detection palette
- Zerocrossingdetection_pal — Zero crossing detection palette
- GENERAL_f — GENERAL_f title
- NEGTOPOS_f — Threshold negative to positive
- POSTONEG_f — Threshold positive to negative
- ZCROSS_f — Threshold detection at zero
- Annotations palette
- Programming xcos Blocks
- C Computational Functions
- Scilab Computational Functions
- sci_struct — Scicos block structure of a scilab computational function
- Utilities Functions
- curblock — Return the current called xcos block during the simulation
- getblocklabel — Get the label of a scicos block
- getscicosvars — Supervisor utility function
- phase_simulation — Get the current simulation phase
- pointer_xproperty — Get the type of a continuous time state variable
- scicos_time — Returns the current time during simulation
- set_blockerror — set the block error number
- set_xproperty — Set the type of a continuous time state variable
- Scilab/Xcos Data Structures
- Blocks
- scicos_block — Define a block structure
- scicos_graphics — Define a graphics structure
- scicos_model — Define a model structure
- Compilation/Simulation
- scicos_cpr — Compiled Scicos structure
- scicos_sim — Define a sim structure
- scicos_state — Define a state structure
- Diagram
- scicos_diagram — Define a scs_m structure
- scicos_params — Define a param structure
- Links
- scicos_link — Define a link structure
- Blocks
- Scilab Utilities Functions
- %MODELICA_USER_LIBS — Specify the paths of the directories containing the Modelica class definition files
- block_parameter_error — Displays a parameter input error box for a Xcos block
- buildouttb — Build of the sublist %cpr.state.outtb
- getModelicaPath — Get the Modelica directory path needed by Xcos diagram containing Modelica blocks
- importXcosDiagram — Import a Xcos diagram on Scilab
- loadScicos — Load the Xcos simulation native library.
- loadXcosLibs — Load most of the Xcos macros
- scicos_debug — Set the level of the Scicos debugging
- scicos_getvalue — xwindow dialog for Xcos
- standard_inputs — Get the position of the input ports of a block in Xcos editor.
- standard_origin — Get the position of a block in the Xcos editor.
- standard_outputs — Get the position of the output ports of a block in Xcos editor.
- var2vec — Transform a scilab variable in a vector of double
- vec2var — Transform a vector of double in a scilab variable
- xcosAddToolsMenu — Add a menu item into the Xcos "Tools" menu.
- xcosPal — Instanciate a new Xcos palette on Scilab.
- xcosPalAdd — Add a palette to the Scilab/Xcos palette manager. Optional property can be added to set the category of the palette.
- xcosPalAddBlock — Add a block to a Scilab/Xcos palette instance. Some optional properties can be added to customize the palette icon and the style of the block.
- xcosPalDelete — Remove an Xcos palette.
- xcosPalExport — Export a palette instance to a path.
- xcosPalGenerateAllIcons — Update the palette icons (gif files) from a Scilab instance
- xcosPalMove — Move a palette from a category to another one.
- xcosUpdateBlock — Update a block instance
- Solvers
- LSodar — LSodar (short for Livermore Solver for Ordinary Differential equations, with Automatic method switching for stiff and nonstiff problems, and with Root-finding) is a numerical solver providing an efficient and stable method to solve Ordinary Differential Equations (ODEs) Initial Value Problems.
- CVode — CVode (short for C-language Variable-coefficients ODE solver) is a numerical solver providing an efficient and stable method to solve Ordinary Differential Equations (ODEs) Initial Value Problems. It uses either BDF or Adams as implicit integration method, and Newton or Functional iterations.
- Runge-Kutta 4(5) — Runge-Kutta is a numerical solver providing an efficient explicit method to solve Ordinary Differential Equations (ODEs) Initial Value Problems.
- Dormand-Prince 4(5) — Dormand-Prince is a numerical solver providing an efficient explicit method to solve Ordinary Differential Equations (ODEs) Initial Value Problems.
- Implicit Runge-Kutta 4(5) — Implicit Runge-Kutta is a numerical solver providing an efficient and stable implicit method to solve Ordinary Differential Equations (ODEs) Initial Value Problems. Called by xcos.
- IDA — IDA (short for Implicit Differential Algebraic equations system solver) is a numerical solver providing an efficient and stable method to solve Differential Algebraic Equations system (DAEs) Initial Value Problems.
- DDaskr — DDaskr (short for Double-precision Differential Algebraic equations system Solver with Krylov method and Rootfinding) is a numerical solver providing an efficient and stable method to solve Differential Algebraic Equations systems (DAEs) Initial Value Problems.
- Rootfinding — This feature finds roots of continuous functions for Zero-crossing Blocks.
- Comparisons — This page compares solvers to determine which one is best fitted for the studied problem.
- xcos — Block diagram editor and GUI for the hybrid simulator
- xcos_debug_gui — Interactive debugging function to be used in the Debug Xcos block
- Menu_Entries — Xcos editor menu entries
Report an issue | ||
<< Output functions | Scilab Help | Spreadsheet >> |