1 | /* |
2 | * RaspberryMagmanModelTest_data.c |
3 | * |
4 | * Classroom License -- for classroom instructional use only. Not for |
5 | * government, commercial, academic research, or other organizational use. |
6 | * |
7 | * Code generation for model "RaspberryMagmanModelTest". |
8 | * |
9 | * Model version : 1.19 |
10 | * Simulink Coder version : 8.11 (R2016b) 25-Aug-2016 |
11 | * C source code generated on : Wed Dec 21 17:46:56 2016 |
12 | * |
13 | * Target selection: ert.tlc |
14 | * Note: GRT includes extra infrastructure and instrumentation for prototyping |
15 | * Embedded hardware selection: ARM Compatible->ARM Cortex |
16 | * Code generation objectives: Unspecified |
17 | * Validation result: Not run |
18 | */ |
19 | |
20 | #include "RaspberryMagmanModelTest.h" |
21 | #include "RaspberryMagmanModelTest_private.h" |
22 | |
23 | /* Block parameters (auto storage) */ |
24 | P_RaspberryMagmanModelTest_T RaspberryMagmanModelTest_P = { |
25 | /* Variable: km4pi |
26 | * Referenced by: '<S4>/Sentinel Calibration matrix' |
27 | */ |
28 | { 0.67375662057511243, 0.0066291335530167111, -0.091723094950921763, |
29 | 0.0024216535349506421, -0.51840549150794368, 0.50934737786271056, |
30 | 0.0013171656385617125, 0.0016154175503415302, 0.09698314702012939 }, |
31 | |
32 | /* Variable: km4piCam |
33 | * Referenced by: '<S1>/Sentinel Calibration matrix1' |
34 | */ |
35 | { 0.0014174653893671066, -5.4436576113462321E-6, -0.74519931274253626, |
36 | 3.5626196289901326E-5, 0.0014043001355219257, -0.65560905448516538, |
37 | 6.600275208316366E-6, 3.1746480591899641E-6, -0.12186373269195942 }, |
38 | |
39 | /* Expression: [0 0 0 0;0 0 0 0;0 1 0 0;0 0 0 0] |
40 | * Referenced by: '<Root>/Coil excitation factors' |
41 | */ |
42 | { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, |
43 | 0.0 }, |
44 | 3.0, /* Expression: 3 |
45 | * Referenced by: '<Root>/Step' |
46 | */ |
47 | 0.0, /* Expression: 0 |
48 | * Referenced by: '<Root>/Step' |
49 | */ |
50 | 1.0, /* Expression: 1 |
51 | * Referenced by: '<Root>/Step' |
52 | */ |
53 | |
54 | /* Expression: [0 0 0 0;0 1 0 0;0 0 0 0;0 0 0 0] |
55 | * Referenced by: '<Root>/Coil excitation factors1' |
56 | */ |
57 | { 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, |
58 | 0.0 }, |
59 | 0.0, /* Expression: 0 |
60 | * Referenced by: '<Root>/Switch' |
61 | */ |
62 | |
63 | /* Computed Parameter: DiscreteStateSpace_A |
64 | * Referenced by: '<Root>/Discrete State-Space' |
65 | */ |
66 | { 1.0, 0.02, 1.0, 1.0, 0.02, 1.0 }, |
67 | |
68 | /* Computed Parameter: DiscreteStateSpace_B |
69 | * Referenced by: '<Root>/Discrete State-Space' |
70 | */ |
71 | { 1.36, 0.013600000000000001, 1.36, 0.013600000000000001 }, |
72 | |
73 | /* Computed Parameter: DiscreteStateSpace_C |
74 | * Referenced by: '<Root>/Discrete State-Space' |
75 | */ |
76 | { 1.0, 1.0 }, |
77 | |
78 | /* Expression: [0,2,0,2] |
79 | * Referenced by: '<Root>/Discrete State-Space' |
80 | */ |
81 | { 0.0, 2.0, 0.0, 2.0 }, |
82 | 0.014705882352941176 /* Expression: 1/68 |
83 | * Referenced by: '<S2>/Gain' |
84 | */ |
85 | }; |
86 | |