A little help in understanding a function
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
function DB = DBInit()
DB.Records = [];
DB.Template = {};
end
what's the diffrence between [] and {}?
0 Commenti
Risposta accettata
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
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Data Types in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!