If anyone has commentary on how I asked my question of wants more detail let me know, I am just a student in search of the knowledge to get through undergrad.
How do I use MATLAB app designer to display a command window for my app?
46 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am converting a program I wrote in regular scripts to an app. I want to be able to have a window in my app that I can write data to.
I have been trying to use
fprintf(object,"Some Text\n")
I have tried using the slrealtime System Log block but I cannot print to it.
I also tried writing to a file and then pulling that back into the app at the end of execution.
I need to print text to the app somehow. How should I be attacking this.
3 comentarios
Jan
el 16 de Mzo. de 2022
What is "object" in your fprintf command? An edit field is the standard to display and edit text.
Respuesta aceptada
Jan
el 16 de Mzo. de 2022
Editada: Jan
el 16 de Mzo. de 2022
This is "gun-shot programming". Please read the documentation:
doc fprintf
doc fopen
Both commands do not write text to a GUI element. How did you create app.SystemLog?
Does your app.SystemLog has a property called "Value"? Try
app.SystemLog.Value = "Hello"
5 comentarios
Joseph Keogh
el 11 de Sept. de 2023
Preferably avoiding eval statements to avoid exploits in security
Más respuestas (0)
Ver también
Categorías
Más información sobre Desktop en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!