'Pop-up' text box - SIMULINK

11 vues (au cours des 30 derniers jours)
JOKY JOKE
JOKY JOKE le 1 Déc 2011
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!

Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 1 Déc 2011
How about:
helpdlg(sprintf('Some text.\nMore text.'))

Plus de réponses (0)

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by