¿Cómo relaciono una variable de un archivo m con una celda numérica de una IU de app designer?

2 vues (au cours des 30 derniers jours)
Estoy haciendo un sinóptico dentro del App Designer de Matlab para crear una interfaz de usuario de un modelo que ya está previamente hecho. Tras ejecutar el archivo m obtengo resultados nuuméricos los cuales debería de sincronizar y trasladar para mostrarlos en celdas numéricas en la interfaz de usuario. También tendré que trasladar las gráficas y otras variables que aparecen tras ejecutarse el archivo m. Podrían ayudarme??

Réponses (1)

Jemima Pulipati
Jemima Pulipati le 17 Déc 2020
Hello,
From my understanding, you want access data produced by a .m script in the app designer.
You can modify .m file into a function that returns the data you want ot access in app designer. In your app designer code, you can call that function and extract that output returned and display it in the UI.
Some of the relevant answers from the community are:
These documentation links might also help you

Community Treasure Hunt

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

Start Hunting!