Effacer les filtres
Effacer les filtres

A little help in understanding a function

1 vue (au cours des 30 derniers jours)
googo
googo le 14 Mai 2013
function DB = DBInit()
DB.Records = [];
DB.Template = {};
end
what's the diffrence between [] and {}?

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 14 Mai 2013
Modifié(e) : Azzi Abdelmalek le 14 Mai 2013
a=[] % is a 0x0 (empty) double array
a={} % is a 0x0 (empty) cell array

Plus de réponses (0)

Catégories

En savoir plus sur Data Types dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by