how can i see variable output in subsystem on the surface of mask?

let's assume i have this model under the mask
then i want to see the value in the display on surface of mask , like this
How can i do that?

Answers (1)

You will need an event listener or MATLAB S-Function to do a set_param on the mask drawing at every simulation step.
I do not have an exact example, but a mix of the following two posts should do it:
Not that such thing will obviously slowdown your simulation.

This question is closed.

Asked:

on 15 Oct 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!