Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: How to load variables to workspace from a function
Replies: 3   Last Post: Oct 15, 1996 4:32 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Jnsson Joakim

Posts: 3
Registered: 12/7/04
How to load variables to workspace from a function
Posted: Oct 9, 1996 10:22 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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 ui-objects with Callbacks using
% workspace variables

end

Please help me !!!

Joakim Joensson
92kf019@chestud.chalmers.se





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.