How to declear global array and how to use it ?
Show older comments
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
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 4 May 2013
Edited: Azzi Abdelmalek
on 4 May 2013
Example
global a
a=[1 2 3]
a=[a 4 5]
Look at concatenation
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!