Invalid expression error when i execute code

7 visualizzazioni (ultimi 30 giorni)
Can anyone tell whats the problem with this code

Risposta accettata

Alex Mcaulley
Alex Mcaulley il 21 Feb 2019
You can't use numbers as a variable names.
Valid variable and function names begin with an alphabetic character, and can contain letters, numbers, or underscores.
You must write:
function j3012 = RCPSP(var1,var2,var3)

Più risposte (1)

Wilmer Buitrago Duarte
Wilmer Buitrago Duarte il 9 Lug 2019
How did you program the sequence in series?

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by