Use a simulink signal during simulation

hello, I would like to use during simulation a signal in Simulink. A two-track model outputs a speed signal. This signal is needed by an observer. The problem is that the signal is available only at the end of the simulation in the workspace. The observer needs it but during the simulation. Is it possible to use the speed signal in real time?

Respuestas (2)

Azzi Abdelmalek
Azzi Abdelmalek el 25 de Mayo de 2015

0 votos

What is your exact problem, just connect your signal to your observer. It' s the same signal connected to the workspace block
Var87
Var87 el 25 de Mayo de 2015

0 votos

The observer is designed as a state space. For that I have used gain blocks. When I supply the speed signal via MUX-block, the error message appears that the observer gets no speed signal. I wanted to write the signal during the simulation in the workspace and thus use.
I have a file attached that shows you the structure of the model. But maybe it's possible the signal to connect directly and I understand it's just wrong.

1 comentario

Azzi Abdelmalek
Azzi Abdelmalek el 25 de Mayo de 2015
Please delete this answer, and post it as a comment by clicking "comment on this answer" just under my answer

Iniciar sesión para comentar.

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Preguntada:

el 25 de Mayo de 2015

Comentada:

el 25 de Mayo de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by