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