load variables into workspace (simpel)

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

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

The assignin function might be helpful for you.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!