how can I insert comments into a multiline array creation?
Afficher commentaires plus anciens
This works
>> p = [...
%%%BEGIN ENTRIES %%%
'a1;', ...
'b;', ...
'c;'
]
p =
a1;b;c;
but commenting out the 'b' line doesn't
p = [...
%%%BEGIN ENTRIES %%%
'a1;', ...
% 'b;', ...
'c;'
]
Dimensions of matrices being concatenated are not consistent.
Réponse acceptée
Plus de réponses (1)
Andrew Diamond
le 27 Déc 2017
0 votes
1 commentaire
Fergil Mills
le 15 Juil 2019
^ Agree w Andrew, thanks so much for posting this answer!
Catégories
En savoir plus sur Creating and Concatenating 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!