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 Exchange에서 Simulink에 대해 자세히 알아보기

질문:

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