MATLAB: Am I unable to use the SERIAL function to access the serial port when running Linux on a 64-bit platform

64bitMATLABserial

I want to use my serial port using the following command in MATLAB 7.0.1 (R14SP1):
s1 = serial ('/dev/ttys0')
I receive the following error message:
??? Error using ==> serial.serial
The serial port object is supported on the Windows, Solaris and Linux platforms only.

Best Answer

This enhancement has been incorporated in Release 2009a (R2009a). For previous product releases, read below for any possible workarounds:
The ability to use the SERIAL function is not available on 64-bit Linux platforms with MATLAB.
To work around this issue you could write a MEX-file to access the serial port.
We have verified that there is a bug in MATLAB 7.0.1 in the text of the error message that appears. The error message does not distinguish between 32-bit and 64-bit versions of Linux. This error message has been fixed in Release 14 Service Pack 3 (R14SP3).