More MATLAB Trouble

PaulS:

      pwmInt = atof(value);

What? Perhaps you need to try
int pwmFloat = some nonsense.

Well I was using Int earlier thats why the name is pwmInt