How do I save matrices on hard drive?

Asked

Viewed 118 times

3

How do I save matrices created in MATLAB to the hard disk?

  • 3

    What did you try?

  • 6

    I didn’t understand the negatives, is it because I don’t understand MATLAB? There’s so much crap that gets positive, this may not be in the best shape but it’s far from so bad.

  • 2

    I agree @bigown do not show the effort until the time of AP, but it is your first question. Getting used to the model is something that happens over time, and at first just help understand the model, but many people don’t understand this

  • 4

    "so much crap that gets positive" ---> +1 for that

  • 1

    I have the impression that this is a perfectly valid question. It could even be better elaborated (what was the difficulty, what was tried), but it is a reasonable doubt. It may actually be that those who negatived have a reason, but have a chance to be those "bots" queued up" as usual.

  • I honestly don’t think it’s valid the way this writing is. I didn’t know how to do it, but I did a simple Google search and the second result was the official documentation with the answer. But there are many worse questions that receive upvote and this with a simple edition would become perfectly valid.

Show 1 more comment

1 answer

3

To save a variable (any one I know), in a file, just use the command save.

This command has several options that control the format of variable writing, and format compatibility with other versions of Matlab.

The following site has more information and was found using a simple Google search:

Save Workspace variables to file

Browser other questions tagged

You are not signed in. Login or sign up in order to post.