More MATLAB Trouble

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

It's not an int now. You can, and should, change the name.