how to use fprintf in app designer?

43 ビュー (過去 30 日間)
GOURANG UPADHYAY
GOURANG UPADHYAY 2022 年 6 月 22 日
編集済み: Cris LaPierre 2022 年 6 月 22 日
i used fprintf in my actual program now i want to make app for it so how to use that fprintf in app desginer

採用された回答

Cris LaPierre
Cris LaPierre 2022 年 6 月 22 日
編集済み: Cris LaPierre 2022 年 6 月 22 日
fprintf will print to the command window, even if called in App Designer. There is not a 'print output' option in app designer. The way to display this in app designer is to display the string in App Designer is to write it to an appropriate component. In your previous question, I'd recommended a text edit field.
I might do something like this.
msg = sprintf("defect is in stage %d (check wear and lubrication)and corresponding harmonics of GMF is %d and corresponding frequency is %d\n ",x,b,fg(a,b));
app.EditTield.Value = msg;
You can find a list of all possible components here.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by