Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



How to load variables to workspace from a function
Posted:
Oct 9, 1996 10:22 AM


I have problems with loading variables from .mat files to workspace. I want to do this with a function.
Some thing like this
function out = io(t)
if nargin == 0 filename = % Ask for filename % load some data to workspace end
% In my application I'm setting up some uiobjects with Callbacks using % workspace variables
end
Please help me !!!
Joakim Joensson 92kf019@chestud.chalmers.se



