Invalid expression error when i execute code

4 views (last 30 days)
Can anyone tell whats the problem with this code

Accepted Answer

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

More Answers (1)

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

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!