New to Simulink, output of control system is tout

9 views (last 30 days)
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?

Answers (2)

Fangjun Jiang
Fangjun Jiang on 30 May 2011
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 on 30 May 2011
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.

Categories

Find more on Modeling in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!