how to use fprintf in app designer?
28 次查看(过去 30 天)
显示 更早的评论
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
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;
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!