22.06.2015 Views

CIFER®-MATLAB Interfaces: Development and ... - Cal Poly

CIFER®-MATLAB Interfaces: Development and ... - Cal Poly

CIFER®-MATLAB Interfaces: Development and ... - Cal Poly

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

% Set up blank composite case<br />

c_in = composite;<br />

% Fill in appropriate values<br />

c_in.casename = thename;<br />

c_in.comments = 'Matlab-created XVLATSWP case';<br />

c_in.casein<br />

c_in.caseout<br />

= thename;<br />

= thename;<br />

c_in.inpgm<br />

= 'MIS';<br />

c_in.controls(1)<br />

c_in.outputs(1:4)<br />

= {'AIL'};<br />

= {'P','R','AY','VDOT'};<br />

c_in.winon(1:5) = {'*'};<br />

c_in.frcalc(1,1) = {'*'};<br />

% Save case into database<br />

composite(c_in,2);<br />

% Run both cases<br />

frespid('XVLATSP2',3);<br />

misosa('XVLATSP2',3);<br />

composite('XVLATSP2',3);<br />

The following figure shows a plot of the original XVLATSWP case as created <strong>and</strong> run in CIFER<br />

overlaid by the same case set up <strong>and</strong> run from <strong>MATLAB</strong>. There is no appreciable difference<br />

between the two results.<br />

103

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!