Specifications
Lab 1
Introduction to MATLAB xPC Toolbox and the Advantec PC 104 computer boards
Introduction
The PC104 standard is for a system of computers that are small in size, and stackable so that any
peripheral module with the same standard of size and number of pins can be interfaced to it. The systems
we will be using in the lab are made by Advantech. We have two different modules, the older PCM 3350
and the new PCM 3355L boards. They require low power and can be used for general purpose embedded
applications. You may read more about their specifications on their respective manuals uploaded on
blackboard.
In the lab each group will have access to two PC104 computers. They are installed with Diamond MM
A/D D/A boards and screw terminals that provide connections to them. In the first lab you will be
familiarizing yourselves with the various functionalities/capabilities of these embedded computer
systems. You will also learn how to use the MATLAB xPC Target toolbox for embedded systems
programming. For all experiments performed in this lab, we will design models in Simulink and then
utilize a C compiler to create executable code from the models. The code will then be ported to the flash
memory on the PC104 board and run from there.
By the end of this lab, you should be well informed and completely comfortable in utilizing the various
resources these PC104 systems have to offer. All the skills you learn in this lab will be required in future
labs for successful completion of the semester.
NOTE: The computer systems in GWC laboratory are such that they lose all information upon restart and
also at 12:00 am midnight. As such, it is strongly recommended to carry flash drives and save all your
work in it at all times. Also, MATLAB needs to be configured in a particular manner for use in this lab.
Since the computers reset, these configurations will have to be done every time you come in.
Setting up Matlab for first use
These procedures must be followed every time you come to the lab.
Step 1. Compiler configuration
NOTE: Throughout these lab manuals, type command or run command means you should enter the
command into the MATLAB main command window. MATLAB always has “>>” symbol to indicate
where your commands are entered. We use the same symbol in this manual to indicate it is a MATLAB
command. To see what licenses and toolboxes are installed in MATLAB you can type “ver” and hit enter.
At the very bottom you should see the xPC Target and xPC Target Embedded Option listed. Without
them you cannot do any work related to this lab.










