Invalid expression error when i execute code

7 次查看(过去 30 天)
Can anyone tell whats the problem with this code

采纳的回答

Alex Mcaulley
Alex Mcaulley 2019-2-21
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)

更多回答(1 个)

Wilmer Buitrago Duarte
How did you program the sequence in series?

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by