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?

Answers (2)

What is your exact problem, just connect your signal to your observer. It' s the same signal connected to the workspace block
Var87
Var87 on 25 May 2015
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 Comment

Please delete this answer, and post it as a comment by clicking "comment on this answer" just under my answer

Sign in to comment.

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 25 May 2015

Commented:

on 25 May 2015

Community Treasure Hunt

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

Start Hunting!