Effacer les filtres
Effacer les filtres

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

3 vues (au cours des 30 derniers jours)
juan sanchez
juan sanchez le 8 Juil 2018
Réponse apportée : Jan le 8 Juil 2018
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 commentaire
dpb
dpb le 8 Juil 2018
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

Connectez-vous pour commenter.

Réponses (1)

Jan
Jan le 8 Juil 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.

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by