'Pop-up' text box - SIMULINK

조회 수: 11 (최근 30일)
JOKY JOKE
JOKY JOKE 2011년 12월 1일
Hi,
I would like to implement something in a Simulink Model, what I can click on and which then shows me some text. What I am thinking of is a button, which I can click on and a 'pop-up' appears with the text.
I would like to use it as a 'help' window, where I explain, how I implemented the model.
What I found out so far is that I could use an Annotation with a ClickFcn, looks good, but what would be a MATLAB command which gives me a text 'pop-up'? Or are the totally different solutions?
Thank you!

채택된 답변

Kaustubha Govind
Kaustubha Govind 2011년 12월 1일
How about:
helpdlg(sprintf('Some text.\nMore text.'))

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by