Is it possible to save both data and functions into a .mat file?

Is it possible to save both data and functions into the same .mat file?

1 Comment

Mr. M - please clarify what you mean by saving your function into a mat file. Do you mean that you wish to save the function handle to the mat file (like any other variable)? If so, then yes you can (see http://www.mathworks.com/help/matlab/matlab_prog/creating-a-function-handle.html which discusses this).

Sign in to comment.

Answers (0)

Asked:

on 10 Oct 2015

Commented:

on 10 Oct 2015

Community Treasure Hunt

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

Start Hunting!