Invalid expression error when i execute code

 Accepted Answer

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)

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!