A little help in understanding a function
1 view (last 30 days)
Show older comments
function DB = DBInit()
DB.Records = [];
DB.Template = {};
end
what's the diffrence between [] and {}?
0 Comments
Accepted Answer
Azzi Abdelmalek
on 14 May 2013
Edited: Azzi Abdelmalek
on 14 May 2013
a=[] % is a 0x0 (empty) double array
a={} % is a 0x0 (empty) cell array
0 Comments
More Answers (0)
See Also
Categories
Find more on Data Types in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!