Different ways of creating .mat files? what is an array, cell, structure, string?

Hi, I am new to matlab and I wanted to know what are the different ways of creating .mat files as shown in the picture attached?
are these done from the command window? imported from excel or text? both? any good explanation
What is an array, cell, structure, string?

1 Comment

No idea really what you're trying to ask for first one, sorry...but try the "Getting Started" tutorial page...
For the latter, see matlab data-types

Sign in to comment.

Answers (1)

There are no different ways to create MAT files, but only one way: the save command. See:
doc save
There is no specific object called "structure" in Matlab, but "struct":
doc struct
You can search in the documentation also by:
docsearch struct
The basics are explained in the "Getting Started" chapters of the documentation and e.g. in Matlab's free "Onramp" tutorial: https://matlabacademy.mathworks.com/
It is more efficient to learn the basics from tutorials than to ask them in the forum.

Products

Asked:

on 8 Jul 2018

Answered:

Jan
on 8 Jul 2018

Community Treasure Hunt

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

Start Hunting!