Export Geometrie Description Variables Not Found?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Florian Baumgartner
el 3 de Ag. de 2015
Comentada: Florian Baumgartner
el 4 de Ag. de 2015
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 comentarios
Respuesta aceptada
Walter Roberson
el 3 de Ag. de 2015
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"
Más respuestas (0)
Ver también
Categorías
Más información sobre Parallel Computing Fundamentals en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!