No BSD License  

Highlights from
Examples of incorporating m-code into Simulink models

Examples of incorporating m-code into Simulink models

by

 

23 Sep 2004 (Updated )

Example Simulink models to support a MATLAB Digest article from September 2004.

aero_raddat.m
%RADDAT sets up data needed to run Simulink radar model "radmod".

% Copyright 1990-2002 The MathWorks, Inc.
% Program developed by Dr. Richard Gran, September 1, 1996.
% $Revision: 1.9 $ $Date: 2002/04/10 18:40:40 $

g = 32.2;    % Acceleration due to gravity (ft/sec^2)
tauc = 5;    % Correlation time of aircraft cross axis acceleration
tauT = 4;    % Correlation time of aircraft thrust axis acceleration
Speed = 400; % Initial speed of aircraft in y direction feet/sec
deltat = 1;  % Radar update rate (also hard-coded in extkalman.m)

Contact us