How to use variable present in workspace in GUI
古いコメントを表示
Dear Sir I have created a NN program and i want to use this program in a GUI mfile. it creates a network, but the GUI does not use this.It does does the recognize the net, it says unknown parameter..."net"
回答 (2 件)
Kaustubha Govind
2011 年 12 月 14 日
Perhaps you could try running this line to get the variable from the base workspace to the function workspace:
net = evalin('base', 'net');
Sean de Wolski
2011 年 12 月 14 日
Another way - setappdata/getappdata
doc setappdata
doc getappdata
カテゴリ
ヘルプ センター および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!