msgbox is not displaying the string entered in body

5 Ansichten (letzte 30 Tage)
Sampath Rachumallu
Sampath Rachumallu am 20 Jun. 2019
I am using msgbox function in Matlab to display a message.
%This is the code i have written
msgbox('I am the title','I am the body');
I am getting message box with
'I am the body" in title of msgbox and nothing in the body of msgbox
I am using R2019a version.Kindly help me to solve this issue

Antworten (2)

dpb
dpb am 20 Jun. 2019
Should be
msgbox('Message','Title')
  4 Kommentare
Stephen23
Stephen23 am 20 Jun. 2019
Bearbeitet: Stephen23 am 20 Jun. 2019
Also worth checking:
which msgbox -all
Sampath Rachumallu
Sampath Rachumallu am 20 Jun. 2019
Yeah I restarted the session multiple times, but the output didn't change at all.
I will definitely submit the bug report to know the root cause.

Melden Sie sich an, um zu kommentieren.


Milad Mohammadzadeh Sharif
Milad Mohammadzadeh Sharif am 20 Jun. 2019
Bearbeitet: Milad Mohammadzadeh Sharif am 20 Jun. 2019
The first input for the "msgbox" function takes place in the body of your message box,
The second input will be the smallest of your message box.
and there is a third input which is determine the window mode.
here you can see my code:
msgbox ( 'i am the little' , 'I am the body' , "non-modal" )
  1 Kommentar
Sampath Rachumallu
Sampath Rachumallu am 20 Jun. 2019
I tried your code too,but the output remained same. I got a message box with no text in its body

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by