Documenting the Script

Start writing your script by documenting at least its name and purpose. For this tutorial, open a MATLAB Edit/Debug window, include the following initial lines of comment code, and save the file as manchester_tb.m:

% Manchester Receiver Script
%
% This script sets up and executes tests for the
% following Manchester Receiver VHDL components:
%
% vhdl\manchester\decoder.vhd
%    Models a combinatorial circuit that interprets
%    the results of the inphase and quadrature
%    convolution
% vhdl\manchester\iqconv.vhd
%    Samples signals and computes the convolution for
%    inphase and quadrature waveforms
% vhdl\manchester\statecnt.vhd
%    Generates inphase and quadrature waveforms with
%    received signals, taking into account phase
%    errors
%


Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS