Output from programmatic GUI
이전 댓글 표시
Hi,
I have a function that creates a dynamic, programmatic GUI. This function is called from the callback of a GUIDE GUI, and I would like for it (the function) to output a matrix to this callback when a pushbutton is clicked w/in the programmatic GUI.
I am having problems setting the output of this function. The output is set w/in the callback of the pushbutton, but I do not know how to set it w/in the main function. I have tried defining the output in the main function and setting it w/in a nested function. However, I receive this error: Attempt to add "___________" to a static workspace. See MATLAB Programming, Restrictions on Assigning to Variables for details._
Is there a way for me to work around this error or another way to return the output value to the main function?
Thanks.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!