Output Function like "inputdlg"

10 次查看(过去 30 天)
Shady
Shady 2011-12-15
Hi, this my first time using MATLAB so I started with simple problems and learned a few basic functions but I want to know if there is a function that displays the output in a dialogue or not. Thanks in Advance!

回答(1 个)

Sean de Wolski
Sean de Wolski 2011-12-15
like:
doc msgbox
?
msgbox('hello world!')
  2 个评论
Shady
Shady 2011-12-15
Kind of, but I want the output to be a Double, not Char, or Cell :)
Sean de Wolski
Sean de Wolski 2011-12-15
Then convert the double to a char using sprintf() or num2str()...

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by