How can I use a variable and its value from a .m file, in a gui?
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
I have a .m file, where i calculate an array of variables. I would like to load these into my gui and plot them.
I tried to use txt fils, but could not load them as a table.
I tried to put them into excel file but the program says that the excel file is locked(opened) and cannot be edited...
"is not writable. It might be locked by another process."
I have not got a clue how to use these variables in my gui. I have never used gui before and i am not professional in matlab.
Could someone help me, please?
5 comentarios
Geoff Hayes
el 13 de Abr. de 2019
Is your m-file a function or a script? If it is a function, then you can define it to return an output parameter. In this way, your GUI would call the function, get the output parameter, and then plot the values. See scripts vs functions for details.
Lala0099
el 13 de Abr. de 2019
Walter Roberson
el 14 de Abr. de 2019
How does your code produce output at the moment?
Lala0099
el 14 de Abr. de 2019
Respuestas (0)
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!