Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Mysterious Error: Missing operator, comma, or semicolon

Subject: Mysterious Error: Missing operator, comma, or semicolon

From: Todd

Date: 1 Apr, 2005 08:48:33

Message: 1 of 1

Rajeev wrote:
> per isakson wrote:
>
> <...>
>
>>??? MV Simulation2
>> |
>>Error: Missing operator, comma, or semicolon.
>>
>>Never ever have a space in the name of a file that will come within a
>>mile of Matlab.
>>
>>/ per
>
>
> Sounds like good practice to be sure, but anybody know why this is ?
>
> -rajeev-
>

MV Simulation is the script name. Thus it appears as two tokens, MV
and Simulation. It's just like the difference between 23 and 2 3. One
is a number and one is two numbers. MATLAB is looking for a command MV
and a command Simulation but doesn't know how to join them.

That's why the error is about missing operator, comma, or semicolon.
Those are how you would make '2 3' a valid command. You would insert
one between the 2 and the 3 (except of course if they are intended as a
list).

todd

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us