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 — Send input events to the corresponding CLKFROM block
- CLKGotoTagVisibility — Define Scope of CLKGOTO tag visibility
- CLKSOMV_f — Activation union
- EDGE_TRIGGER — generate an event when the input signal sign changes
- 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 — Pause the simulation at an input event
- IFTHEL_f — Synchronous block If-Then-Else
- MCLOCK_f — double clock at two multiple output frequencies
- MFCLCK_f — triggered double clock with two output frequencies
- M_freq — Multiple Frequencies
- VirtualCLK0 — Triggers always active blocks in a superblock
- 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 — Linear 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
- EXPRESSION — Mathematical expression
- GAINBLK_f — Gain
- INVBLK — Inverse
- LOGBLK_f — Logarithm
- MATMAGPHI — Conversions Z <=> (magnitude,angle) of complex numbers
- MATZREIM — Complex decomposition/composition
- MAXMIN — Max or min value of a vector, or element-wise for N vectors
- 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 — receives data from a corresponding GOTO
- FROMMO — Receives data from a corresponding GOTOMO
- GOTO — Send input data to the corresponding 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 input numbers on the block's icon
- 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 in subplot(N,1)
- CSCOPE — Scope displaying a unique simple or multiplexed input in a single axes
- CSCOPXY — y = f(x) permanent viewer
- CSCOPXY3D — z = f(x,y) permanent viewer
- ENDBLK — END block
- END_c — END_c block
- SCALE_CMSCOPE — Multi display scope with autoscale feature of graph
- SCALE_CSCOPE — Single Display Scope with autoscale feature of graph
- TOWS_c — Data to Scilab workspace
- TRASH_f — Trash block
- 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
- DEBUG — Debug the simulation
- DSUPER — Masked super block
- 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 — Returns 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
- scicos_block — Define a block structure
- scicos_cpr — Compiled Scicos structure
- scicos_diagram — Define a scs_m structure
- scicos_graphics — Define an Xcos block graphics structure
- scicos_link — Define a link structure
- scicos_model — Define a model structure
- scicos_params — Define a param structure
- scicos_sim — Define a sim structure
- scicos_state — Define a state structure
- 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 — Loads all native Xcos blocks interfaces functions
- scicosDiagramToScilab — Load or Save an Xcos diagram
- scicos_debug — Set the level of the Scicos debugging
- scicos_getvalue — xwindow dialog for Xcos
- scicos_log — Logger utility for scicos
- standard_define — Define a block from its interface as in Xcos editor.
- 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 into a vector of double
- vec2var — Transform a vector of double into a scilab variable
- xcosAddToolsMenu — Add a menu item into the Xcos "Tools" menu.
- xcosDiagramToScilab — Load or Save an Xcos diagram
- xcosPal — Instantiate 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) — Numerical solver providing an efficient and stable implicit method to solve Ordinary Differential Equations (ODEs) Initial Value Problems.
- Crank-Nicolson 2(3) — Crank-Nicolson is a numerical solver based on the Runge-Kutta scheme providing an efficient and stable implicit method to solve Ordinary Differential Equations (ODEs) Initial Value Problems. Called by xcos.
- IDA — Implicit Differential Algebraic equations system solver, providing an efficient and stable method to solve Differential Algebraic Equations system (DAEs) Initial Value Problems.
- DDaskr — Double-precision Differential Algebraic equations system Solver with Krylov method and Rootfinding: numerical solver providing an efficient and stable method to solve Differential Algebraic Equations systems (DAEs) Initial Value Problems
- Rootfinding — 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 >> |