Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Error while passing data between GUI

조회 수: 1 (최근 30일)
DEBASHIS PANDA
DEBASHIS PANDA 2016년 1월 21일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello, I have written two GUI,Input data will be given in to one GUI and When i will press SOLVE button it will solve and give the output ,The output will be visible in second GUI when user will click RESULT button.I have written a separate function that will solve the function.In solve button the function is [dia leng peri ]=cal(d,r,x,y,z).HERE d,r,x,y,z are input parameters given in first GUI after solving the outputs are dia,leng, peri .To achieve this i have used setappdata in first GUI and Second GUI getappdata but it gave message undefined function or variable dia.Then i have folowwed another method i.e. set(findobj('tag','red'),'string',num2str(dia));like this separate functions for all where 'red' is the tag of second GUI where red will be displayed,in this method i am getting results sometimes but some times i am not getting any result.
Please tell me how to solve this issue...I have use GUIDE to make GUI

답변 (0개)

이 질문은 마감되었습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by