How to declear global array and how to use it ?
显示 更早的评论
I want to declare global array and i want to use it in different function.
how to add data to this array without deleting the other data that are already on it
采纳的回答
更多回答(1 个)
Azzi Abdelmalek
2013-5-4
编辑:Azzi Abdelmalek
2013-5-4
Example
global a
a=[1 2 3]
a=[a 4 5]
Look at concatenation
类别
在 帮助中心 和 File Exchange 中查找有关 Multidimensional Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!