extracting one variable from mux

how can ı get just one variable from multi input demux block by using to workspace block

 Respuesta aceptada

Walter Roberson
Walter Roberson el 16 de Feb. de 2024

0 votos

You do not use a To Workspace block for that purpose; you use a Bus Selector https://www.mathworks.com/help/simulink/slref/busselector.html

4 comentarios

baris
baris el 16 de Feb. de 2024
ı saw something like this and the input of demux contains 7 variables. I am wondering how he get just one variable
Walter Roberson
Walter Roberson el 16 de Feb. de 2024
"The block can output the selected elements separately or in a new virtual bus. When the block outputs the selected elements separately, each selected element corresponds to an output port."
baris
baris el 16 de Feb. de 2024
Editada: baris el 16 de Feb. de 2024
sory if l led any misundertanding. my question is that is there any solution to extract just one variable from "demux" block by using "to workspace" block. Is there any method to implemet like in the picture ı attached just before
Walter Roberson
Walter Roberson el 16 de Feb. de 2024
Use a Selector block https://www.mathworks.com/help/simulink/slref/selector.html to select an element from a vector.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Preguntada:

el 16 de Feb. de 2024

Comentada:

el 16 de Feb. de 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by