A little help in understanding a function
1 次查看(过去 30 天)
显示 更早的评论
function DB = DBInit()
DB.Records = [];
DB.Template = {};
end
what's the diffrence between [] and {}?
0 个评论
采纳的回答
Azzi Abdelmalek
2013-5-14
编辑:Azzi Abdelmalek
2013-5-14
a=[] % is a 0x0 (empty) double array
a={} % is a 0x0 (empty) cell array
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!