Code covered by the BSD License  

Highlights from
Simultaneous Plant and Control Design of an Active Automotive Suspension Using Direct Transcription

image thumbnail

Simultaneous Plant and Control Design of an Active Automotive Suspension Using Direct Transcription

by

 

A toolbox for using Direct Transcription to perform combined plant and control design.

run_comparison.m
% This is a simple script to run demo_qcar and demo_qcar_sequential save
% the results and log
%% 
% 
% Authors: James T. Allison, Assistant Professor, University of Illinois at Urbana-Champaign, Zhi Han, Tinghao Guo
% Date: 2/23/13
% Copyright 2013, James T. Allison

platform = computer;
diary_name = ['dt_results_' platform '.txt'];
if ~isempty(dir(diary_name))
    delete(diary_name);
end 
diary(diary_name);
demo_qcar_dt;
save(['dt_results_' platform]);
diary('off');
% 
%% 
%
platform = computer;
diary_name = ['seq_results_' platform '.txt'];
if ~isempty(dir(diary_name))
    delete(diary_name);
end 
diary(diary_name);
demo_qcar_sequential;
save(['seq_results_' platform]);
diary('off');
%

Contact us