Export Geometrie Description Variables Not Found?
2 ビュー (過去 30 日間)
古いコメントを表示
Florian Baumgartner
2015 年 8 月 3 日
コメント済み: Florian Baumgartner
2015 年 8 月 4 日
Hello,
I exported the geometrie description variables "gd, sf, ns" from the pdetool into the workspace. Now I want to use this variables in my GUI_Funktion.
function varargout = GUI_Program(varargin)
% a lot of programming
end
Matlab doesnt find the variables if I call them from the GUI_Funktion. But I can use the varibales in the command line. How can I solve this problem? Thanks in advance :-)
0 件のコメント
採用された回答
Walter Roberson
2015 年 8 月 3 日
When you exported them, you exported them into the "base workspace". Each function has its own workspace. You need to pass the values in to your function, or you need to use evalin('base') to retrieve the values from the "base workspace"
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Parallel Computing Fundamentals についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!