Borrar filtros
Borrar filtros

appdesigner - gui does not have access to functions

5 visualizaciones (últimos 30 días)
Kristin Habersang
Kristin Habersang el 13 de Ag. de 2021
Respondida: Jyotirmay Mishra el 17 de Ag. de 2021
Hello,
I am working on a GUI with appdesigner currently. I got my functions in the same folder as the GUI, but I think somehow my GUI doesnt have access to these functions and also variables that are initialized in there. How can my GUI code use these functions? Do I have to use any keywords maybe?
Thank you!
  1 comentario
Thomas Fournier
Thomas Fournier el 16 de Ag. de 2021
Hello, as lng as your function is stored in the same folder as your GUI app, you should be able to call it as you would do with a normal script .m file.
Not sure about your variables however, do you have some part of code or oerror message to share?

Iniciar sesión para comentar.

Respuestas (1)

Jyotirmay Mishra
Jyotirmay Mishra el 17 de Ag. de 2021
It is my understanding that you are trying to use external functions in MATLAB App Designer.
Please refer to the following MATLAB Answers link to understand how you can call external functions in App Designer -

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by