How to declear global array and how to use it ?
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
Azzi Abdelmalek
le 4 Mai 2013
Modifié(e) : Azzi Abdelmalek
le 4 Mai 2013
Example
global a
a=[1 2 3]
a=[a 4 5]
Look at concatenation
Catégories
En savoir plus sur Resizing and Reshaping Matrices dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!