New to Simulink, output of control system is tout

조회 수: 38 (최근 30일)
Stagleton
Stagleton 2011년 5월 30일
Hi, I tried to set up a simple control system and when I press run there is only an output vector called tout that is generated. I looked at the output values and it is just equivalent to linspace(1.9639, 2.5, 1000)'
What can I do to get a graphical output?
What should I read in order to better understand my problem?

답변 (2개)

Fangjun Jiang
Fangjun Jiang 2011년 5월 30일
Go to your model, select menu Simulation>Configuration Parameters ..., on the left column, select Data import/export, tout is the default output of the time steps. You can check those options to specify inputs, output and signals. But you need to understand that the inputs/outputs are for root-level Inport and Outport block. Signal logging requires some other work. Best way for you to plot or see the graph is to drag a Scope block to your model and connect it to whatever signal you want to view.
Start with Matlab document, read the user guide on Simulink. There a few video to get you jump-started.

Stagleton
Stagleton 2011년 5월 30일
Thanks for the help.
I found the block diagram I had set up was ok. When I double clicked the scope block an output was generated. When I pressed the binocs, I could see the result I was looking for.

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by