Td' = var(popul,10);
The expression to the left of the equals sign is not a valid target for an assignment.why this error is showing? please help

1 commentaire

Stephen23
Stephen23 le 23 Déc 2021
"why this error is showing?"
Td' = var(popul,10);
% ^ single quote is not valid in a variable name.

Connectez-vous pour commenter.

Réponses (1)

Shanmukha Voggu
Shanmukha Voggu le 27 Déc 2021

0 votes

Hi Mainak,
A valid variable name starts with a letter, followed by letters, digits, or underscores
The link here might be helpful.

Catégories

En savoir plus sur Programming dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by