Azzera filtri
Azzera filtri

A little help in understanding a function

1 visualizzazione (ultimi 30 giorni)
function DB = DBInit()
DB.Records = [];
DB.Template = {};
end
what's the diffrence between [] and {}?

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 14 Mag 2013
Modificato: Azzi Abdelmalek il 14 Mag 2013
a=[] % is a 0x0 (empty) double array
a={} % is a 0x0 (empty) cell array

Più risposte (0)

Categorie

Scopri di più su Data Types in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by