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

3 次查看(过去 30 天)
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 个)

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

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by