ABSTRACT

In this chapter we’ll examine interface programming between serial ports and MATLAB®, a programming language and interactive environment package available from The Mathworks, Inc. MATLAB provides different ways to access serial ports and perform serial data communications, typically by calling external codes from within the MATLAB domain. MATLAB provides three general ways to access and interface serial ports:

• Calling a MEX-file developed in a third-party language, such as C/C++ or Visual C++, from within the MATLAB domain.