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

1 view (last 30 days)
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?

Answers (1)

Jan
Jan on 8 Jul 2018
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.

Categories

Find more on Structures in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!