appdesigner - gui does not have access to functions

조회 수: 1 (최근 30일)
Kristin Habersang
Kristin Habersang 2021년 8월 13일
답변: Jyotirmay Mishra 2021년 8월 17일
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
Thomas Fournier
Thomas Fournier 2021년 8월 16일
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?

댓글을 달려면 로그인하십시오.

답변 (1개)

Jyotirmay Mishra
Jyotirmay Mishra 2021년 8월 17일
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 -

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by