load variables into workspace (simpel)

2 views (last 30 days)
Heyho,
sorry for this stupid question, but i found no answer in google. Right now,I am creating a program and i want to know whether there is a way to load calculated data into the workspace ?
explanation: After i have created a part of a program,i debugg it and then i use the save commnand to create a Test.m file which i can load into my workspace. Is there a more direct way to do this ?
sorry for this beginner Question
  1 Comment
XAXRXTX
XAXRXTX on 27 Aug 2014
you have to name your data as something.mat
and than you can load it by the load something.mat

Sign in to comment.

Accepted Answer

Michael Haderlein
Michael Haderlein on 27 Aug 2014
The assignin function might be helpful for you.

More Answers (0)

Categories

Find more on Scope Variables and Generate Names in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!