Invalid expression error when i execute code

7 Ansichten (letzte 30 Tage)
Mazhar Ali
Mazhar Ali am 21 Feb. 2019
Can anyone tell whats the problem with this code

Akzeptierte Antwort

Alex Mcaulley
Alex Mcaulley am 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)

Weitere Antworten (1)

Wilmer Buitrago Duarte
Wilmer Buitrago Duarte am 9 Jul. 2019
How did you program the sequence in series?

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by