Invalid expression error when i execute code
7 次查看(过去 30 天)
显示 更早的评论
Can anyone tell whats the problem with this code

0 个评论
采纳的回答
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)
0 个评论
更多回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!