Interfacing Arduino with Matlab

Mathworks has this handy software package for interfacing Matlab with arduino which can be find on the MATLAB site or by googling arduino and matlab. Sorry, I cannot post the link because this is my first post.

From that package I'm trying to upload a sketch called adioserv.pde which I'm made to understand from the readme is what I want to do so that I can have the arduino wait for commands from Matlab. When I try to export the sketch, Processing says that it "Cannot find anything named INPUT" and refers to line 34 which states

pinMode(i, INPUT);

I'm left a little dumbfounded because this IS the right syntax for the pinMode command and shouldn't INPUT be something that's part of the standard library in Processing?

What gives?

What pins does Processing have? The pinMode command is an Arduino command.

Sounds to me like you are trying to compile an Arduino sketch in Processing.

It's long past time for the Arduino people to create a unique extension for Arduino sketches so that this can't happen.