Listdlg inside of fprintf?

2 ビュー (過去 30 日間)
Jonathan Mendoza
Jonathan Mendoza 2019 年 11 月 6 日
コメント済み: Jonathan Mendoza 2019 年 11 月 6 日
is there anyway i can use fprintf function or is there another function very similar to it, that i can use inside of listdlg. i want it so i when the string in fprintf is updated it is updated in listdlg aswell, if that makes any sense. thanks

採用された回答

Walter Roberson
Walter Roberson 2019 年 11 月 6 日
What is the mechanism for updating the string in fprintf() ?
You can use sprintf() or compose() to construct strings or character vectors to pass to listdlg()
However, a "live" listdlg() effectively cannot be updated, because listdlg() always starts 'modal'. (There are hacks that could do it, such as using a timer object, but not through user interaction.)
  1 件のコメント
Jonathan Mendoza
Jonathan Mendoza 2019 年 11 月 6 日
thank you sprintf works beautifully.

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by