A little help in understanding a function
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
function DB = DBInit()
DB.Records = [];
DB.Template = {};
end
what's the diffrence between [] and {}?
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 14 Mai 2013
Bearbeitet: Azzi Abdelmalek
am 14 Mai 2013
a=[] % is a 0x0 (empty) double array
a={} % is a 0x0 (empty) cell array
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!