필터 지우기
필터 지우기

running a gui from another gui with push button after compiling them

조회 수: 3 (최근 30일)
Hello,
I have two gui figures with no link between them. Before compiling them with deploytool I just made a push button in "figure1" that run the "figure2" by command open figure2.m,or figure2.fig or figure2.exe (it didn't matter what with condition that the both figures been in the same folder) and it work perfectly. But after I compiled the first figure (the main figure) this command didn't work anymore. I use Matlab version R2011b. Any ideas to solve this issue please? Thank you.

채택된 답변

Walter Roberson
Walter Roberson 2016년 6월 13일
In figure1.m use
%#function figure2
so that the compiler knows that figure2 will be called upon. You might also need to add figure2.fig to the project.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by