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?

Réponses (1)

Guy Rouleau
Guy Rouleau le 16 Oct 2013
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.

Cette question est clôturée.

Question posée :

le 15 Oct 2013

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by