# Dynamically select matrix elements?

**URL:** <https://scilab.discourse.group/t/dynamically-select-matrix-elements/1131>\
**Category:** Xcos\
**Created:** [March 27, 2026, 3:15pm UTC](https://scilab.discourse.group/t/dynamically-select-matrix-elements/1131 "2026-03-27T15:15:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jstan76](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@jstan76](https://scilab.discourse.group/u/jstan76)\
**Post date:** [March 27, 2026, 3:15pm UTC](https://scilab.discourse.group/t/dynamically-select-matrix-elements/1131/1 "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 integers during a simulation, but this could change after an event. I could use the ‘EXTRACT’ block, but the configuration values are static, not dynamic. Anyone know how I could do this?
