"Error: Unexpected MATLAB expression." I'm not too sure what's wrong with my code.

 Accepted Answer

You cannot have a space in the name of your m-file. Call it IOHomework.m instead of "IO Homework.m"

More Answers (0)

Categories

Find more on Programming 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!