New to Simulink, output of control system is tout

35 ビュー (過去 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 Center および File ExchangeSources についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by