4
In1
In2
In3
In4
13
off
Out1
off
Out2
off
Out3
off
Out4
off
Out5
off
Out6
off
Out7
off
Out8
off
Out9
off
Out10
off
Out11
off
Out12
off
Out13
1.107
0
0
windows-1252
on
0.035000
on
off
UseLocalSettings
AllNumericTypes
UseLocalSettings
Overwrite
Run 1
120
UpdateHistoryNever
%<Auto>
%<Auto>
383054472
1.%<AutoIncrement:107>
none
off
off
none
off
off
off
off
on
off
off
on
on
on
off
off
on
off
off
off
on
on
off
off
normal
none
off
MATLABWorkspace
accel.tlc
accel_default_tmf
make_rtw
off
Cessna_6DOF_trim_ha
[]
0.0
off
/
covdata
dw
off
on
on
on
on
covCumulativeData
off
on
Off
off
off
on
manual
normal
1
any
1000
auto
0
0
rising
0
off
off
off
off
off
on
off
on
on
on
off
off
0.0
1000
auto
auto
auto
-1
5
auto
10*128*eps
1000
4
1
auto
auto
1
1e-5
Auto
off
off
ode45
ode45
auto
DisableAll
UseLocalSettings
Nonadaptive
TrustRegion
Fast
off
off
Unconstrained
Whenever possible
1
[t, u]
xFinal
xInitial
on
1000
off
off
off
off
Array
ModelDataLogs
on
off
on
on
off
on
off
xout
tout
yout
logsout
dsmout
RefineOutputTimes
[]
out
1
on
on
on
off
off
off
off
off
on
on
off
off
on
off
uint_T
on
64
Structure reference
2147483647
on
on
5
off
off
off
off
on
on
off
off
off
on
off
inf
Inherit from target
on
Off
off
on
error
none
none
none
none
UseLocalSettings
UseLocalSettings
UseLocalSettings
warning
warning
warning
warning
on
Classic
none
off
off
UseLocalSettings
warning
warning
none
error
warning
warning
warning
warning
warning
error
error
error
none
warning
warning
none
warning
warning
error
error
none
warning
warning
none
none
none
none
none
none
error
UseLocalSettings
none
warning
warning
warning
none
warning
none
warning
warning
UseLocalSettings
off
none
error
none
none
none
warning
warning
warning
error
warning
warning
error
warning
ErrorLevel1
WarnAndRepair
none
error
none
warning
warning
warning
warning
warning
warning
warning
warning
8
16
32
32
32
64
32
Char
None
Undefined
Unspecified
32
on
32-bit Generic
8
16
32
32
32
64
32
Char
None
on
Undefined
Unspecified
32
0
32
32
Specified
off
on
IfOutOfDateOrStructuralChange
error
off
on
None
Multi
Infer from blocks in model
on
off
off
off
on
on
on
on
on
on
on
off
on
sf_incremental_build
grt.tlc
off
make_rtw
on
off
grt_default_tmf
off
off
on
off
off
off
off
off
Default
Optimized
off
off
off
off
off
off
off
None
off
executionProfile
SummaryOnly
off
C
off
off
off
off
off
off
off
off
off
off
off
Off
Off
OnUpdate
off
on
on
off
off
31
off
off
off
off
off
off
off
off
off
1
$R$N$M
$N$R$M_T
$N$M
$R$N$M$F
rt$I$N$M
rtb_$N$M
$N$M
$R$N$M
None
None
None
off
off
on
off
off
Shortened
Literals
off
off
ansi_tfl_table_tmw.mat
None
Auto
System defined
256
2048
on
off
off
off
on
on
on
on
on
Disable all
off
off
off
off
Auto
off
on
rt_
on
off
on
on
off
on
on
off
on
Nominal
off
on
off
on
off
off
off
off
1000000
0
ext_comm
Level1
off
off
off
off
off
HDL Coder custom configuration component
HDL Coder
0
Configuration
Solver
[ 243, 69, 1123, 699 ]
Ensure deterministic transfer (maximum delay)
Ensure data integrity only
Ensure deterministic transfer (minimum delay)
None
0
off
landscape
auto
A4
centimeters
[1.270000, 1.270000, 1.270000, 1.270000]
1
off
off
200
white
black
white
off
normal
Helvetica
10
normal
normal
on
0
off
center
middle
black
white
off
Helvetica
10
normal
normal
off
Helvetica
9
normal
normal
off
on
on
off
none
default
autoscale
on
on
off
off
off
on
on
on
4
none
off
inf
1
off
[]
[]
Inherit: auto
off
off
-1
Inherit
-1
auto
auto
off
off
on
1
[]
[]
Inherit: auto
off
off
-1
Inherit
-1
auto
auto
Dialog
held
[]
system
''
[]
off
FromPortIcon
ReadWrite
All
off
off
-1
Auto
Auto
Inherit from model
Inherit from model
Inherit from model
Inherit from model
Inherit from model
off
UseLocalSettings
AllNumericTypes
UseLocalSettings
NONE
off
off
rectangular
++
All dimensions
1
on
Inherit: Inherit via internal rule
[]
[]
Inherit: Same as first input
off
Floor
on
-1
[-8, -8, 1370, 746]
on
100
simulink-default.rpt
148
[115, 283, 145, 297]
-1
Port number
[145, 298, 175, 312]
-2
2
Port number
[115, 313, 145, 327]
-3
3
Port number
[145, 328, 175, 342]
-4
4
Port number
[2, 8]
[480, 132, 680, 333]
1
1.251
aerolib6dof2/6DoF (Euler Angles)
6DoF EoM (Body Axis)
Metric (MKS)
Fixed
Euler Angles
[0 0 0]
[u v w]
[0 0 0]
[0 0 0]
m
0.5
2.0
diag([I_xx I_yy I_zz])
eye(3)
2*eye(3)
1.0
[1, 3]
[730, 301, 735, 339]
-6
off
3
bar
[1, 3]
[975, 96, 980, 134]
-7
off
3
bar
[1, 3]
[1015, 151, 1020, 189]
-8
off
3
bar
[885, 215, 915, 245]
-9
[1, 3]
[765, 220, 825, 270]
-10
1.127
aerolibasang/Incidence, Sideslip, & Airspeed
Incidence,Sideslip,&Airspeed
[12, 2]
[310, 145, 420, 360]
-11
1.32
Stateflow.Translate.translate
ExplicitOnly
on
off
off
Auto
off
off
off
off
MATLAB Function
on
bgColor = Simulink.Root.ColorString2Rgb(get_param(gcbh, 'BackgroundColor')); image(imread('private/eml_membrane_16.png','png','BackgroundColor',bgColor(1:3)),'center'); disp([10 10 'Force_Cessna']);
normalized
[227, 345, 838, 789]
off
100
147
[20, 101, 40, 119]
-1
Port number
[20, 136, 40, 154]
-2
2
Port number
[20, 171, 40, 189]
-3
3
Port number
[20, 206, 40, 224]
-4
4
Port number
[20, 246, 40, 264]
-5
5
Port number
[20, 281, 40, 299]
-6
6
Port number
[20, 316, 40, 334]
-7
7
Port number
[20, 351, 40, 369]
-8
8
Port number
[20, 386, 40, 404]
-9
9
Port number
[20, 426, 40, 444]
-10
10
Port number
[20, 461, 40, 479]
-11
11
Port number
[20, 496, 40, 514]
-12
12
Port number
[1, 1]
[270, 230, 320, 270]
2
1
Stateflow S-Function Cessna_6DOF_trim_ha 2
[12, 3]
[180, 95, 230, 355]
1
sf_sfun
[12 3]
on
2
F
Auto
SignalName
3
M
Auto
SignalName
[460, 241, 480, 259]
3
[460, 101, 480, 119]
-16
Port number
[460, 136, 480, 154]
-17
2
Port number
20::1#out:1
20::40#in:1
20::18#out:1
20::40#in:2
20::19#out:1
20::40#in:3
20::20#out:1
20::40#in:4
20::21#out:1
20::40#in:5
20::24#out:1
20::40#in:6
20::22#out:1
20::40#in:7
20::27#out:1
20::40#in:8
20::36#out:1
20::40#in:9
20::37#out:1
20::40#in:10
20::38#out:1
20::40#in:11
20::39#out:1
20::40#in:12
F
[0, 0]
20::40#out:2
20::5#in:1
M
[0, 0]
20::40#out:3
[0, -165]
20::26#in:1
20::41#out:1
20::42#in:1
20::40#out:1
20::41#in:1
[2, 1]
[975, 300, 995, 320]
-12
off
round
|+-
off
Inherit: Inherit via internal rule
off
[715, 135, 735, 155]
-13
[715, 210, 735, 230]
-14
[785, 300, 805, 320]
-15
[830, 360, 850, 380]
-16
[1000, 198, 1030, 212]
-17
Port number
[1000, 258, 1030, 272]
-18
2
Port number
[1000, 243, 1030, 257]
-19
3
Port number
[1040, 98, 1070, 112]
-20
4
Port number
[1245, 108, 1275, 122]
-21
5
Port number
[1115, 118, 1145, 132]
-22
6
Port number
[1080, 153, 1110, 167]
-23
7
Port number
[1040, 163, 1070, 177]
-24
8
Port number
[1115, 173, 1145, 187]
-25
9
Port number
[885, 398, 915, 412]
-26
10
Port number
[825, 418, 855, 432]
-27
11
Port number
[780, 433, 810, 447]
-28
12
Port number
[1025, 303, 1055, 317]
-29
13
Port number
148#out:5
2#in:1
148#out:6
[20, 0; 0, 50]
12#in:1
20#out:1
[25, 0; 0, -15]
148#in:1
2#out:1
[0, 0]
[0, -115; -495, 0; 0, 12; -166, 0; 0, 43]
20#in:1
[30, 0]
25#in:1
[0, 35]
136#in:1
[0, 70]
116#in:2
2#out:2
[5, 0]
[0, -135; -680, 0; 0, 75]
20#in:2
[0, 5]
137#in:1
12#out:1
[5, 0; 0, 35; -30, 0; 0, 57]
[-614, 0; 0, -202]
20#in:3
[0, 3]
144#in:1
12#out:2
[10, 0; 0, 105]
[0, 27; -663, 0; 0, -237]
20#in:4
145#in:1
12#out:3
[0, 87]
[-632, 0; 0, -187]
20#in:5
[0, 23]
146#in:1
2#out:3
[15, 0; 0, -50]
[0, -115; -683, 0; 0, 165]
20#in:7
[135, 0; 0, -5]
135#in:1
148#out:1
43#in:1
148#out:2
[7, 0; 0, 12; 293, 0; 0, -12]
63#in:1
148#out:4
45#in:1
148#out:7
[65, 0; 0, 15]
46#in:1
148#out:8
[13, 0; 0, 50]
47#in:1
148#out:3
[270, 0; 0, -80]
49#in:1
49#out:2
[5, 0]
[0, -25; -55, 0]
[-585, 0; 0, 376; -277, 0; 0, -221]
20#in:6
[0, 220]
116#in:1
139#in:1
49#out:1
138#in:1
49#out:3
140#in:1
63#out:1
141#in:1
63#out:2
142#in:1
63#out:3
143#in:1
20#out:2
[25, 0; 0, -20]
148#in:2
25#out:1
[10, 0; 0, 160; -836, 0; 0, -115]
20#in:8
116#out:1
147#in:1
131#out:1
20#in:9
132#out:1
20#in:10
133#out:1
20#in:11
134#out:1
20#in:12
18-Dec-2014 10:58:31
0
76014001.001
Default Simulink S-Function Target.
MATLAB Function
[401 52 213 385]
[0 156.75 0 153.75]
[1 1 1366 768 1.333333333333333]
29
1
27
CLUSTER_CHART
EML_CHART
2
1
Force_Cessna
eML_blk_kernel()
[18 64.5 118 66]
12
SUBCHART
29
FUNC_STATE
CLUSTER_STATE
1
function [F, M] = Force_Cessna(alpha, beta, p, q, r, theta, V, alpha_dot, delta_e, delta_a, delta_r, thrust) g = 9.8; rho = 1.225; m = 1043.26; C_bar = 1.493; b = 10.911; S_ref = 16.1651; C_L_0 = 0.25; C_L_alpha = 4.47; C_L_q = 1.7; C_L_delta_e = 0.3476; % Ignore all other C_D derivatives excluding C_D_0 % Use C_D = C_D_0 + k*C_L^2 C_D_0 = 0.036; k = 0.3; C_Y_beta = -0.31; C_Y_p = -0.037; C_Y_r = 0.21; C_Y_delta_a = 0; C_l_beta = -0.089; C_l_p = -0.47; C_l_r = 0.096; C_l_delta_a = -0.09; C_l_delta_r = 0.0147; C_M_0 = -0.02; C_M_alpha = -1.8; C_M_alpha_dot = -12.4; C_M_delta_e = -1.28; C_N_beta = 0.065; C_N_p = -0.03; C_N_r = -0.99; C_N_delta_a = -0.0053; C_N_delta_r = -0.0657; C_L = C_L_0 + C_L_alpha*alpha + C_L_q*(q*C_bar/(2*V)) + C_L_delta_e*delta_e; C_D = C_D_0 + k*C_L^2; C_Y = C_Y_beta*beta + C_Y_p*(p*b/(2*V)) + C_Y_r*(r*b/(2*V)) + C_Y_delta_a*delta_a; C_l = C_l_beta*beta + C_l_p*(p*b/(2*V)) + C_l_r*(r*b/(2*V)) + C_l_delta_a*delta_a + C_l_delta_r*delta_r; C_M = C_M_0 + C_M_alpha*alpha + C_M_alpha_dot*(alpha_dot*C_bar/(2*V)) + C_M_delta_e*delta_e; C_N = C_N_beta*beta + C_N_p*(p*b/(2*V)) + C_N_r*(r*b/(2*V)) + C_N_delta_a*delta_a + C_N_delta_r*delta_r; C_X = -C_D*cos(alpha) + C_L*sin(alpha); C_Z = -C_D*sin(alpha) - C_L*cos(alpha); F = zeros(3,1); M = zeros(3,1); q_bar = 0.5*rho*V*V; F(1,1) = q_bar*S_ref*C_X - m*g*sin(theta) + thrust; F(2,1) = q_bar*S_ref*C_Y; F(3,1) = q_bar*S_ref*C_Z + m*g*cos(theta); M(1,1) = q_bar*b*S_ref*C_l; M(2,1) = q_bar*C_bar*S_ref*C_M; M(3,1) = q_bar*b*S_ref*C_N;
Matrix(4,1) [[10.0]; [5.0]; [700.0]; [500.0]]
INPUT_DATA
-1
SF_INHERITED_TYPE
SF_DOUBLE_TYPE
SF_COMPLEX_INHERITED
Inherit: Same as Simulink
OUTPUT_DATA
-1
SF_INHERITED_TYPE
SF_DOUBLE_TYPE
SF_COMPLEX_INHERITED
SF_FRAME_NO
Inherit: Same as Simulink
INPUT_DATA
-1
SF_INHERITED_TYPE
SF_DOUBLE_TYPE
1
16
SF_COMPLEX_INHERITED
SF_FRAME_INHERITED
Inherit: Same as Simulink
INPUT_DATA
-1
SF_INHERITED_TYPE
SF_DOUBLE_TYPE
1
16
SF_COMPLEX_INHERITED
SF_FRAME_INHERITED
Inherit: Same as Simulink
INPUT_DATA
-1
SF_INHERITED_TYPE
SF_DOUBLE_TYPE
1
16
SF_COMPLEX_INHERITED
SF_FRAME_INHERITED
Inherit: Same as Simulink
INPUT_DATA
-1
SF_INHERITED_TYPE
SF_DOUBLE_TYPE
1
16
SF_COMPLEX_INHERITED
SF_FRAME_INHERITED
Inherit: Same as Simulink
INPUT_DATA
-1
SF_INHERITED_TYPE
SF_DOUBLE_TYPE
1
16
SF_COMPLEX_INHERITED
SF_FRAME_INHERITED
Inherit: Same as Simulink
INPUT_DATA
-1
SF_INHERITED_TYPE
SF_DOUBLE_TYPE
1
16
SF_COMPLEX_INHERITED
SF_FRAME_INHERITED
Inherit: Same as Simulink
OUTPUT_DATA
-1
SF_INHERITED_TYPE
SF_DOUBLE_TYPE
1
16
SF_COMPLEX_INHERITED
SF_FRAME_NO
Inherit: Same as Simulink
INPUT_DATA
-1
SF_INHERITED_TYPE
SF_DOUBLE_TYPE
1
16
SF_COMPLEX_INHERITED
SF_FRAME_INHERITED
Inherit: Same as Simulink
INPUT_DATA
-1
SF_INHERITED_TYPE
SF_DOUBLE_TYPE
1
16
SF_COMPLEX_INHERITED
SF_FRAME_INHERITED
Inherit: Same as Simulink
INPUT_DATA
-1
SF_INHERITED_TYPE
SF_DOUBLE_TYPE
1
16
SF_COMPLEX_INHERITED
SF_FRAME_INHERITED
Inherit: Same as Simulink
INPUT_DATA
-1
SF_INHERITED_TYPE
SF_DOUBLE_TYPE
1
16
SF_COMPLEX_INHERITED
SF_FRAME_INHERITED
Inherit: Same as Simulink
INPUT_DATA
-1
SF_INHERITED_TYPE
SF_DOUBLE_TYPE
1
16
SF_COMPLEX_INHERITED
SF_FRAME_INHERITED
Inherit: Same as Simulink
{eML_blk_kernel();}
[36.125 25.875 102.544 14.964]
12
[0 0 1 0 23.5747 14.625 0 0]
3
[1 0 -1 0 23.5747 42.5747 0 0]
[23.5747 24.9468]
[21.175 25.975 14.625 42.575]
29
SMART
BOTH_STICK
1
[23.5747 49.5747 7]
29
CONNECTIVE_JUNCTION
MATLAB Function
28
29