MATLAB Answers

how to access a simulink's block ouput values ?

2 views (last 30 days)
hello, My goal is to display the output value of a simulink block in gui's text_edit box
Please help


Sign in to comment.

More Answers (1)

Med Aymane Ahajjam
Med Aymane Ahajjam on 5 Oct 2015
Thanks Sebastian, i tried that but it doesn't work, because the blocks only computes not really a simulation like the example (plotting sine waves)

  1 Comment

Sebastian Castro
Sebastian Castro on 5 Oct 2015
OK. I am convinced that the approach above will work for any block that produces an output signal.
However, if you add more details on the type of block whose values you're trying to visualize, and why it doesn't work, it's more likely that we can help you.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by