Unexpected MATLAB expression error
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Réponses (1)
Walter Roberson
le 22 Juin 2016
The code fragment
XXXXXXXXXXXXXXXXXXXXXX COMPLETE XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
is not valid MATLAB code. MATLAB does not automatically use multiplication between adjacent names or tokens. MATLAB only builds a list of items between space-separated tokens when the tokens are inside [] or {} -- but your code is assigning to a scalar element so you would not want a list built at that point anyhow.
0 commentaires
Voir également
Catégories
En savoir plus sur Language Fundamentals dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!