# Xcos

**URL:** https://scilab.discourse.group/c/specific-domains/xcos/12.md

[Latest](https://scilab.discourse.group/latest.md) · [Categories](https://scilab.discourse.group/categories.md) · [Tags](https://scilab.discourse.group/tags.md)

---

## [About the Xcos category](https://scilab.discourse.group/t/about-the-xcos-category/18)

<div class="topic-metadata">

**Author:** [@mottelet](https://scilab.discourse.group/u/mottelet)\
**Replies:** 0

</div>

---

## [Cannot figure out how to name a super block](https://scilab.discourse.group/t/cannot-figure-out-how-to-name-a-super-block/1156)

<div class="topic-metadata">

**Author:** [@greenguy](https://scilab.discourse.group/u/greenguy)\
**Replies:** 1\
**Last updated:** [June 4, 2026, 1:20pm UTC](https://scilab.discourse.group/t/cannot-figure-out-how-to-name-a-super-block/1156 "2026-06-04T13:20:30Z")

</div>

I can select primitives in a diagram and create the super block and save it to my scilab files location and connect up the super block, but I cannot figure out how to name it and have the name present in a diagram so i c…

---

## [SciLab / Xcos 2026 - ReadF Block](https://scilab.discourse.group/t/scilab-xcos-2026-readf-block/1162)

<div class="topic-metadata">

**Author:** [@greenguy](https://scilab.discourse.group/u/greenguy)\
**Replies:** 6\
**Last updated:** [June 3, 2026, 2:45am UTC](https://scilab.discourse.group/t/scilab-xcos-2026-readf-block/1162 "2026-06-03T02:45:05Z")

</div>

I am trying to use the Readf block and no values are being read from the file. I had this working with an install of 2026 on LMint 21.3 but there were lots of other bugs and stability problems. I found that the Java I…

---

## [Problem with the SIMM module](https://scilab.discourse.group/t/problem-with-the-simm-module/376)

<div class="topic-metadata">

**Author:** [@ewenqtrc](https://scilab.discourse.group/u/ewenqtrc)\
**Replies:** 3\
**Last updated:** [May 4, 2026, 3:05pm UTC](https://scilab.discourse.group/t/problem-with-the-simm-module/376 "2026-05-04T15:05:10Z")

</div>

Hello, I’m a French student and I can’t load the sims module on my MacBook Air, can someone help me ? I have installed Xcode to read the code and when I launched the processus it is written that : Start COSELICA module …

---

## [Help with LOGICAL\_OP block and shift register implementation in XCOS integer](https://scilab.discourse.group/t/help-with-logical-op-block-and-shift-register-implementation-in-xcos-integer/1142)

<div class="topic-metadata">

**Author:** [@XCOSfan](https://scilab.discourse.group/u/XCOSfan)\
**Replies:** 0\
**Last updated:** [April 20, 2026, 12:54pm UTC](https://scilab.discourse.group/t/help-with-logical-op-block-and-shift-register-implementation-in-xcos-integer/1142 "2026-04-20T12:54:22Z")

</div>

I’m using XCOS integer palette in Scilab 2025. I could build a logical function, but logical\_op block does not update to newly set logical function, as is seen in my screenshot. Did I make something wrong? I would also …

---

## [How to implement discrete dynamic system in Xcos v2024.1.0?](https://scilab.discourse.group/t/how-to-implement-discrete-dynamic-system-in-xcos-v2024-1-0/1114)

<div class="topic-metadata">

**Author:** [@Student](https://scilab.discourse.group/u/Student)\
**Replies:** 11\
**Last updated:** [April 1, 2026, 8:25pm UTC](https://scilab.discourse.group/t/how-to-implement-discrete-dynamic-system-in-xcos-v2024-1-0/1114 "2026-04-01T20:25:20Z")

</div>

I have been developing a Xcos simulation where I have a disturbance observer in discrete domain. My intention was to implement the observer itself as a Scilab function invoked in periodic manner from the scifunc\_block\_m …

---

## [Event generation in the 'scifunc\_block\_m' block](https://scilab.discourse.group/t/event-generation-in-the-scifunc-block-m-block/1132)

<div class="topic-metadata">

**Author:** [@jstan76](https://scilab.discourse.group/u/jstan76)\
**Replies:** 2\
**Last updated:** [April 1, 2026, 11:33am UTC](https://scilab.discourse.group/t/event-generation-in-the-scifunc-block-m-block/1132 "2026-04-01T11:33:08Z")

</div>

I would be grateful for someone to help me understand this. After numerous attempts at trying to configure this block to output events, I’ve come to the following conclusions: Event outputs can only be triggered if th…

---

## [Matrix S/H algebraic loop issue](https://scilab.discourse.group/t/matrix-s-h-algebraic-loop-issue/1130)

<div class="topic-metadata">

**Author:** [@jstan76](https://scilab.discourse.group/u/jstan76)\
**Replies:** 9\
**Last updated:** [March 30, 2026, 3:29pm UTC](https://scilab.discourse.group/t/matrix-s-h-algebraic-loop-issue/1130 "2026-03-30T15:29:32Z")

</div>

This might be a bug or usability issue, but I’m not sure which at the moment. I’m trying to run a simple feedback model with the S/H block as shown: But it’s giving an error saying ‘algebraic loop’. However, when I…

---

## [Dynamically select matrix elements?](https://scilab.discourse.group/t/dynamically-select-matrix-elements/1131)

<div class="topic-metadata">

**Author:** [@jstan76](https://scilab.discourse.group/u/jstan76)\
**Replies:** 0\
**Last updated:** [March 27, 2026, 3:15pm UTC](https://scilab.discourse.group/t/dynamically-select-matrix-elements/1131 "2026-03-27T15:15:08Z")

</div>

Is there a way of being able to dynamically select (i.e. during simulation) an element from a matrix using standard Xcos blocks, without using Scilab or C code? I’d like to supply the row and column for a matrix using i…

---

## [How to use the Xcos DLSS block?](https://scilab.discourse.group/t/how-to-use-the-xcos-dlss-block/1116)

<div class="topic-metadata">

**Author:** [@Student](https://scilab.discourse.group/u/Student)\
**Replies:** 1\
**Last updated:** [January 30, 2026, 9:10am UTC](https://scilab.discourse.group/t/how-to-use-the-xcos-dlss-block/1116 "2026-01-30T09:10:55Z")

</div>

I would like to implement a discrete dynamic system in my Xcos simulation. The intended system has two inputs, two outputs and two states. Please can you tell me how to use the DLSS block in this situation? I am little b…

---

## [Auto-Position Block functionality available?](https://scilab.discourse.group/t/auto-position-block-functionality-available/1112)

<div class="topic-metadata">

**Author:** [@jstan76](https://scilab.discourse.group/u/jstan76)\
**Replies:** 0\
**Last updated:** [January 23, 2026, 12:44pm UTC](https://scilab.discourse.group/t/auto-position-block-functionality-available/1112 "2026-01-23T12:44:52Z")

</div>

Within Xcos (v2026.0.0 under Windows 11), there is a menu command ‘Format→Auto-Position Block’, which doesn’t appear to do anything after selecting a block. I would like this to work because I’m generating diagrams via …

---

## [Bug: Xcos diagram generation commands launch blank canvas](https://scilab.discourse.group/t/bug-xcos-diagram-generation-commands-launch-blank-canvas/1111)

<div class="topic-metadata">

**Author:** [@jstan76](https://scilab.discourse.group/u/jstan76)\
**Replies:** 1\
**Last updated:** [January 22, 2026, 8:48am UTC](https://scilab.discourse.group/t/bug-xcos-diagram-generation-commands-launch-blank-canvas/1111 "2026-01-22T08:48:26Z")

</div>

I’ve tested the following code in Scilab 2025.0.0 and 2026.0.0 running under Windows 11, and both versions launch a blank Xcos canvas with no summation block: loadXcosLibs(); scs\_m = scicos\_diagram(); scs\_m.props.title…

---

## [Code generation using X2C](https://scilab.discourse.group/t/code-generation-using-x2c/1085)

<div class="topic-metadata">

**Author:** [@Jerry](https://scilab.discourse.group/u/Jerry)\
**Replies:** 2\
**Last updated:** [January 8, 2026, 9:47am UTC](https://scilab.discourse.group/t/code-generation-using-x2c/1085 "2026-01-08T09:47:48Z")

</div>

Hello, I am using X2C with Scilab/Xcos to design a modular model that contains multiple SuperBlocks, for example: SINE\_GENERATOR LED\_LAYER OSCILLATOR When I generate code from the main Xcos model, X2C produc…

---

## [Can Someone Help Me ? I can't manage to build this function in Xcos](https://scilab.discourse.group/t/can-someone-help-me-i-cant-manage-to-build-this-function-in-xcos/1095)

<div class="topic-metadata">

**Author:** [@VLM](https://scilab.discourse.group/u/VLM)\
**Replies:** 0\
**Last updated:** [November 30, 2025, 8:58pm UTC](https://scilab.discourse.group/t/can-someone-help-me-i-cant-manage-to-build-this-function-in-xcos/1095 "2025-11-30T20:58:48Z")

</div>

Hello everyone, My question concerns the control loop shown in the attached image. I am trying to recreate the attitude-control feedback loop for a satellite’s orientation. This control system deals with the orientatio…

---

## [Missing the WFILE\_f block](https://scilab.discourse.group/t/missing-the-wfile-f-block/1091)

<div class="topic-metadata">

**Author:** [@Michael\_Smith](https://scilab.discourse.group/u/Michael_Smith)\
**Replies:** 0\
**Last updated:** [November 24, 2025, 3:42am UTC](https://scilab.discourse.group/t/missing-the-wfile-f-block/1091 "2025-11-24T03:42:09Z")

</div>

Dear All, I seem to be missing the WFILE\_f block in the scilab pallete browser. Is there any way that someone could provide me with that block? Thank you for your assistance, Michael

---

## [Missing WFILE\_f block in scilab pallete browser](https://scilab.discourse.group/t/missing-wfile-f-block-in-scilab-pallete-browser/1083)

<div class="topic-metadata">

**Author:** [@Michael\_Smith](https://scilab.discourse.group/u/Michael_Smith)\
**Replies:** 0\
**Last updated:** [November 14, 2025, 3:05pm UTC](https://scilab.discourse.group/t/missing-wfile-f-block-in-scilab-pallete-browser/1083 "2025-11-14T15:05:52Z")

</div>

Dear All, I seem to be missing the WFILE\_f block in the scilab pallete browser. Is there any way that someone could provide me with that block? Thank you for your assistance, Michael

---

## [How to model power electronics converter in Xcos?](https://scilab.discourse.group/t/how-to-model-power-electronics-converter-in-xcos/954)

<div class="topic-metadata">

**Author:** [@Student](https://scilab.discourse.group/u/Student)\
**Replies:** 9\
**Last updated:** [September 25, 2025, 12:17pm UTC](https://scilab.discourse.group/t/how-to-model-power-electronics-converter-in-xcos/954 "2025-09-25T12:17:43Z")

</div>

I would like to simulate a power electronic converter in Scilab/Xcos. The converter consists of several elements of below given type i.e. the IGBT with an antiparallel diode My intention is to simulate this element i…

---

## [Xcos SELF\_SWITCH block problem - Scilab 2025](https://scilab.discourse.group/t/xcos-self-switch-block-problem-scilab-2025/1039)

<div class="topic-metadata">

**Author:** [@Dpxcu](https://scilab.discourse.group/u/Dpxcu)\
**Replies:** 1\
**Last updated:** [September 1, 2025, 8:48am UTC](https://scilab.discourse.group/t/xcos-self-switch-block-problem-scilab-2025/1039 "2025-09-01T08:48:44Z")

</div>

I can’t see this flagged already, but in Scilab 2025.1 the Xcos SELF\_SWITCH block shows just as a blank square when you transfer it to a model. In 2024.1, it also transfers initially as a blank square, but when you click…

---

## [Looping velocity logic](https://scilab.discourse.group/t/looping-velocity-logic/987)

<div class="topic-metadata">

**Author:** [@mikeyxd](https://scilab.discourse.group/u/mikeyxd)\
**Replies:** 3\
**Last updated:** [July 2, 2025, 11:54am UTC](https://scilab.discourse.group/t/looping-velocity-logic/987 "2025-07-02T11:54:45Z")

</div>

Hello, I have been trying to loop a velocity logic that I made recently but I cant seem to make it work. The velocity starts at 5/s and then after 25m, the velocity changes to 0, then when it becomes 0, it stays there fo…

---

## [How to Implement Figure 18-1 (PI Control with Delay) in Xcos and Apply Ziegler-Nichols Tuning?](https://scilab.discourse.group/t/how-to-implement-figure-18-1-pi-control-with-delay-in-xcos-and-apply-ziegler-nichols-tuning/978)

<div class="topic-metadata">

**Author:** [@BSM](https://scilab.discourse.group/u/BSM)\
**Replies:** 1\
**Last updated:** [June 17, 2025, 3:15pm UTC](https://scilab.discourse.group/t/how-to-implement-figure-18-1-pi-control-with-delay-in-xcos-and-apply-ziegler-nichols-tuning/978 "2025-06-17T15:15:31Z")

</div>

Hi, I’m a student self-studying process control. I’m trying to replicate the block diagram shown in the left image (Figure 18-1 from the textbook) using Xcos, as shown in the right image. The diagram includes: A PI c…

---

## [Xcos simulation example error](https://scilab.discourse.group/t/xcos-simulation-example-error/973)

<div class="topic-metadata">

**Author:** [@Hotep22](https://scilab.discourse.group/u/Hotep22)\
**Replies:** 15\
**Last updated:** [June 17, 2025, 6:27am UTC](https://scilab.discourse.group/t/xcos-simulation-example-error/973 "2025-06-17T06:27:28Z")

</div>

Xcos Simulation Help Hello scilab/ xcos pros, I recently started learning about xcos, starting with the basics of graphical simulations. So far most of the examples have been a breeze except for this current example …

---

## [How to prevent the aliasing effect in simulation?](https://scilab.discourse.group/t/how-to-prevent-the-aliasing-effect-in-simulation/968)

<div class="topic-metadata">

**Author:** [@Student](https://scilab.discourse.group/u/Student)\
**Replies:** 1\
**Last updated:** [June 11, 2025, 1:00pm UTC](https://scilab.discourse.group/t/how-to-prevent-the-aliasing-effect-in-simulation/968 "2025-06-11T13:00:53Z")

</div>

I have a dynamic model of a power electronics converter in the Xcos. I have been using the TOWS\_c blocks for recording of the state variables. My problem is that these blocks need sampling time input which has to be sma…

---

## [Calibration of Xcos model's parameters](https://scilab.discourse.group/t/calibration-of-xcos-models-parameters/949)

<div class="topic-metadata">

**Author:** [@davcheze](https://scilab.discourse.group/u/davcheze)\
**Replies:** 7\
**Last updated:** [June 3, 2025, 4:45pm UTC](https://scilab.discourse.group/t/calibration-of-xcos-models-parameters/949 "2025-06-03T16:45:14Z")

</div>

Dear all, i’m wondering whether it exists somewhere help resource or specific examples about the calibration of model developed in Xcos (modelica) environment ? As first step in naïve approach I’m considering to write …

---

## [Requirement of sending output variable of block in XCOS as limit for Saturation block](https://scilab.discourse.group/t/requirement-of-sending-output-variable-of-block-in-xcos-as-limit-for-saturation-block/957)

<div class="topic-metadata">

**Author:** [@yvmsprakash](https://scilab.discourse.group/u/yvmsprakash)\
**Replies:** 1\
**Last updated:** [June 2, 2025, 8:34am UTC](https://scilab.discourse.group/t/requirement-of-sending-output-variable-of-block-in-xcos-as-limit-for-saturation-block/957 "2025-06-02T08:34:23Z")

</div>

I have a requirement where the output from a user-defined block needs to serve as the limit for a Saturation block. Is there a way to accomplish this without accessing the programming environment?

---

## [How to change the label of independent variables in CMSCOPE](https://scilab.discourse.group/t/how-to-change-the-label-of-independent-variables-in-cmscope/955)

<div class="topic-metadata">

**Author:** [@davcheze](https://scilab.discourse.group/u/davcheze)\
**Replies:** 6\
**Last updated:** [May 28, 2025, 8:48am UTC](https://scilab.discourse.group/t/how-to-change-the-label-of-independent-variables-in-cmscope/955 "2025-05-28T08:48:15Z")

</div>

Hello all, I’m wondering how to customize the labels of independent variables in CMSCOPE to reflect actual value type. For instance in the case of cmscope example from the documentation below how to change Y for th…

---

## [Is it possible to add label to CSCOPXY block?](https://scilab.discourse.group/t/is-it-possible-to-add-label-to-cscopxy-block/775)

<div class="topic-metadata">

**Author:** [@pion3k](https://scilab.discourse.group/u/pion3k)\
**Replies:** 3\
**Last updated:** [May 13, 2025, 6:36am UTC](https://scilab.discourse.group/t/is-it-possible-to-add-label-to-cscopxy-block/775 "2025-05-13T06:36:00Z")

</div>

CSCOPE blocks have “Name of scope” field which allows to add window label (explicit window name). Is it possible to name CSCOPXY block as well? It is difficult to figure out which CSCOPXY belongs to which window only by …

---

## [Nonlinear dynamic system model simulation collapse](https://scilab.discourse.group/t/nonlinear-dynamic-system-model-simulation-collapse/945)

<div class="topic-metadata">

**Author:** [@Student](https://scilab.discourse.group/u/Student)\
**Replies:** 5\
**Last updated:** [May 12, 2025, 1:56pm UTC](https://scilab.discourse.group/t/nonlinear-dynamic-system-model-simulation-collapse/945 "2025-05-12T13:56:13Z")

</div>

I have been attempting to simulate the below given nonlinear dynamic system in the Scilab\\Xcos \[version, options\] = getversion() version = "scilab-2024.1.0" options = \[1x7 string\] "VC++" "x64" "tk" "modelic…

---

## [XCOS Block interconnect issue](https://scilab.discourse.group/t/xcos-block-interconnect-issue/928)

<div class="topic-metadata">

**Author:** [@imajid](https://scilab.discourse.group/u/imajid)\
**Replies:** 3\
**Last updated:** [April 27, 2025, 12:00pm UTC](https://scilab.discourse.group/t/xcos-block-interconnect-issue/928 "2025-04-27T12:00:10Z")

</div>

I save XCOS diagram with neatly laid out interconnects. But once I reopen it some of the interconnects are rearranged in very random manner. If anyone can provide an insight into the reason. Also is there a way to rearra…

---

## [LOOKUP\_f block - what is the Data-\>Load menu used for? Doesn't seem to be working](https://scilab.discourse.group/t/lookup-f-block-what-is-the-data-load-menu-used-for-doesnt-seem-to-be-working/893)

<div class="topic-metadata">

**Author:** [@robertpos](https://scilab.discourse.group/u/robertpos)\
**Replies:** 6\
**Last updated:** [April 22, 2025, 12:07pm UTC](https://scilab.discourse.group/t/lookup-f-block-what-is-the-data-load-menu-used-for-doesnt-seem-to-be-working/893 "2025-04-22T12:07:15Z")

</div>

Hi! If I select Data-\>Save in the LOOKUP\_f block, then a dialog opens to save the \*.xy file. I thought Data-\>Load allowed to load the saved \*.xy file, but no dialog opens. Simply nothing happens. Am I misunderstanding s…

---

## [Piecewise velocity over time scilab xcos](https://scilab.discourse.group/t/piecewise-velocity-over-time-scilab-xcos/824)

<div class="topic-metadata">

**Author:** [@mikeyxd](https://scilab.discourse.group/u/mikeyxd)\
**Replies:** 11\
**Last updated:** [April 7, 2025, 12:30pm UTC](https://scilab.discourse.group/t/piecewise-velocity-over-time-scilab-xcos/824 "2025-04-07T12:30:39Z")

</div>

Im trying to create an xcos model to simulate a piecewise velocity over time similar to that of a trapezium. I know for the first part to depict the initial acceleration a ramp block which will be connect to an integral …

[Next page](https://scilab.discourse.group/c/specific-domains/xcos/12.md?page=1)
