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 件)

Azzi Abdelmalek
Azzi Abdelmalek 2015 年 5 月 25 日

0 投票

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 日

0 投票

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 件のコメント

Azzi Abdelmalek
Azzi Abdelmalek 2015 年 5 月 25 日
Please delete this answer, and post it as a comment by clicking "comment on this answer" just under my answer

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

質問済み:

2015 年 5 月 25 日

コメント済み:

2015 年 5 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by