フィルターのクリア

i am facing problems using the helpdlg() command

1 回表示 (過去 30 日間)
Pradeep Gowda
Pradeep Gowda 2015 年 3 月 18 日
回答済み: Image Analyst 2015 年 3 月 18 日
i wanna display certain steps that the user has to follow to work with our software(GUI) so i am trying to use helpdlg() command to display series of steps , such that each step has to be displayed in new line on the helpdlg() window, but i'm not able to do so, what ever i type inside the helpdlg() everything is merged to single paragraph, but i wanna display each step in new line. help

採用された回答

Jos (10584)
Jos (10584) 2015 年 3 月 18 日
You can put the strings into a cell array of strings, like this:
helpdlg({'Line 1', 'Line 2 is followed by an empty line', '', 'Last line'}, 'Help Me')
  1 件のコメント
Pradeep Gowda
Pradeep Gowda 2015 年 3 月 18 日
thank you :D

サインインしてコメントする。

その他の回答 (1 件)

Image Analyst
Image Analyst 2015 年 3 月 18 日
You can use sprintf:
helpMessage = sprintf('Line 1\nLine 2 is followed by an empty line\n\nLast line');
uiwait(helpdlg(helpMessage)); % uiwait makes it wait for user to click OK before it continues.

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by