get the display data in simulink ( at gui edit box)

1 view (last 30 days)
I tried to make some program to power experiment.
but there is problem to make it.
I want get display block's data at my gui file's edit box
but I couldn't find right way.
plz help me

Answers (1)

Rani V.S
Rani V.S on 26 Oct 2016
set( myguihandle.myEdittag, 'string', myVar);
use the above code. Replace the highlighted fields with corresponding values
  1 Comment
hwanjo kim
hwanjo kim on 28 Oct 2016
Thk about Ur answer
Umm ... In fact my question is this
let me know you sequence
1. click the gui button which i made( it is already load the mdl by load_system() and it already run)
2. get the display data at my edit box automatically
i think above phase what you teach to me is not a automatically
if you know right way plz teach me
anyway thanks a lot

Sign in to comment.

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!