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?

回答(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 2015-5-25
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 个评论

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

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by