Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1659 | giacomo | 1 | Model { |
2 | Name "untitled" |
||
3 | Version 3.00 |
||
4 | SimParamPage "Solver" |
||
5 | SampleTimeColors off |
||
6 | InvariantConstants off |
||
7 | WideVectorLines off |
||
8 | ShowLineWidths off |
||
9 | ShowPortDataTypes off |
||
10 | StartTime "0.0" |
||
11 | StopTime "10.0" |
||
12 | SolverMode "Auto" |
||
13 | Solver "ode45" |
||
14 | RelTol "1e-3" |
||
15 | AbsTol "auto" |
||
16 | Refine "1" |
||
17 | MaxStep "auto" |
||
18 | InitialStep "auto" |
||
19 | FixedStep "auto" |
||
20 | MaxOrder 5 |
||
21 | OutputOption "RefineOutputTimes" |
||
22 | OutputTimes "[]" |
||
23 | LoadExternalInput off |
||
24 | ExternalInput "[t, u]" |
||
25 | SaveTime on |
||
26 | TimeSaveName "tout" |
||
27 | SaveState off |
||
28 | StateSaveName "xout" |
||
29 | SaveOutput on |
||
30 | OutputSaveName "yout" |
||
31 | LoadInitialState off |
||
32 | InitialState "xInitial" |
||
33 | SaveFinalState off |
||
34 | FinalStateName "xFinal" |
||
35 | SaveFormat "Matrix" |
||
36 | LimitMaxRows off |
||
37 | MaxRows "1000" |
||
38 | Decimation "1" |
||
39 | AlgebraicLoopMsg "warning" |
||
40 | MinStepSizeMsg "warning" |
||
41 | UnconnectedInputMsg "warning" |
||
42 | UnconnectedOutputMsg "warning" |
||
43 | UnconnectedLineMsg "warning" |
||
44 | InheritedTsInSrcMsg "warning" |
||
45 | IntegerOverflowMsg "warning" |
||
46 | UnnecessaryDatatypeConvMsg "none" |
||
47 | Int32ToFloatConvMsg "warning" |
||
48 | SignalLabelMismatchMsg "none" |
||
49 | ConsistencyChecking "off" |
||
50 | ZeroCross on |
||
51 | SimulationMode "normal" |
||
52 | BlockDataTips on |
||
53 | BlockParametersDataTip on |
||
54 | BlockAttributesDataTip off |
||
55 | BlockPortWidthsDataTip off |
||
56 | BlockDescriptionStringDataTip off |
||
57 | BlockMaskParametersDataTip off |
||
58 | ToolBar on |
||
59 | StatusBar on |
||
60 | BrowserShowLibraryLinks off |
||
61 | BrowserLookUnderMasks off |
||
62 | OptimizeBlockIOStorage on |
||
63 | BufferReuse on |
||
64 | BooleanDataType off |
||
65 | RTWSystemTargetFile "grt.tlc" |
||
66 | RTWInlineParameters off |
||
67 | RTWRetainRTWFile off |
||
68 | RTWTemplateMakefile "grt_default_tmf" |
||
69 | RTWMakeCommand "make_rtw" |
||
70 | RTWGenerateCodeOnly off |
||
71 | ExtModeMexFile "ext_comm" |
||
72 | ExtModeBatchMode off |
||
73 | ExtModeTrigType "manual" |
||
74 | ExtModeTrigMode "oneshot" |
||
75 | ExtModeTrigPort "1" |
||
76 | ExtModeTrigElement "any" |
||
77 | ExtModeTrigDuration 1000 |
||
78 | ExtModeTrigHoldOff 0 |
||
79 | ExtModeTrigDelay 0 |
||
80 | ExtModeTrigDirection "rising" |
||
81 | ExtModeTrigLevel 0 |
||
82 | ExtModeArchiveMode "off" |
||
83 | ExtModeAutoIncOneShot off |
||
84 | ExtModeIncDirWhenArm off |
||
85 | ExtModeAddSuffixToVar off |
||
86 | ExtModeWriteAllDataToWs off |
||
87 | ExtModeArmWhenConnect off |
||
88 | Created "Wed Jun 13 15:08:16 2001" |
||
89 | UpdateHistory "UpdateHistoryNever" |
||
90 | ModifiedByFormat "%<Auto>" |
||
91 | ModifiedDateFormat "%<Auto>" |
||
92 | LastModifiedDate "Wed Jun 13 16:18:38 2001" |
||
93 | ModelVersionFormat "1.%<AutoIncrement:1>" |
||
94 | ConfigurationManager "none" |
||
95 | BlockDefaults { |
||
96 | Orientation "right" |
||
97 | ForegroundColor "black" |
||
98 | BackgroundColor "white" |
||
99 | DropShadow off |
||
100 | NamePlacement "normal" |
||
101 | FontName "Helvetica" |
||
102 | FontSize 10 |
||
103 | FontWeight "normal" |
||
104 | FontAngle "normal" |
||
105 | ShowName on |
||
106 | } |
||
107 | AnnotationDefaults { |
||
108 | HorizontalAlignment "center" |
||
109 | VerticalAlignment "middle" |
||
110 | ForegroundColor "black" |
||
111 | BackgroundColor "white" |
||
112 | DropShadow off |
||
113 | FontName "Helvetica" |
||
114 | FontSize 10 |
||
115 | FontWeight "normal" |
||
116 | FontAngle "normal" |
||
117 | } |
||
118 | LineDefaults { |
||
119 | FontName "Helvetica" |
||
120 | FontSize 9 |
||
121 | FontWeight "normal" |
||
122 | FontAngle "normal" |
||
123 | } |
||
124 | System { |
||
125 | Name "untitled" |
||
126 | Location [322, 83, 806, 384] |
||
127 | Open on |
||
128 | ModelBrowserVisibility off |
||
129 | ModelBrowserWidth 200 |
||
130 | ScreenColor "automatic" |
||
131 | PaperOrientation "landscape" |
||
132 | PaperPositionMode "auto" |
||
133 | PaperType "usletter" |
||
134 | PaperUnits "inches" |
||
135 | ZoomFactor "100" |
||
136 | AutoZoom on |
||
137 | ReportName "simulink-default.rpt" |
||
138 | Block { |
||
139 | BlockType Clock |
||
140 | Name "Clock" |
||
141 | Position [60, 260, 80, 280] |
||
142 | DisplayTime off |
||
143 | Decimation "10" |
||
144 | } |
||
145 | Block { |
||
146 | BlockType Constant |
||
147 | Name "Constant" |
||
148 | Position [15, 15, 45, 45] |
||
149 | Value "0" |
||
150 | } |
||
151 | Block { |
||
152 | BlockType Gain |
||
153 | Name "Gain" |
||
154 | Position [155, 180, 185, 210] |
||
155 | Orientation "left" |
||
156 | NamePlacement "alternate" |
||
157 | Gain "1" |
||
158 | SaturateOnIntegerOverflow on |
||
159 | } |
||
160 | Block { |
||
161 | BlockType Reference |
||
162 | Name "Matrix\nGain" |
||
163 | Ports [1, 1, 0, 0, 0] |
||
164 | Position [270, 55, 300, 85] |
||
165 | SourceBlock "simulink3/Math/Matrix\nGain" |
||
166 | SourceType "Matrix Gain" |
||
167 | K "k" |
||
168 | } |
||
169 | Block { |
||
170 | BlockType StateSpace |
||
171 | Name "State-Space" |
||
172 | Position [120, 73, 180, 107] |
||
173 | A "a" |
||
174 | B "b" |
||
175 | C "eye(4,4)" |
||
176 | D "zeros(4,1)" |
||
177 | X0 "[0.1 0 0 0]" |
||
178 | } |
||
179 | Block { |
||
180 | BlockType Sum |
||
181 | Name "Sum" |
||
182 | Ports [2, 1, 0, 0, 0] |
||
183 | Position [55, 80, 75, 100] |
||
184 | ShowName off |
||
185 | IconShape "round" |
||
186 | Inputs "|+-" |
||
187 | SaturateOnIntegerOverflow on |
||
188 | } |
||
189 | Block { |
||
190 | BlockType ToWorkspace |
||
191 | Name "To Workspace" |
||
192 | Position [310, 255, 370, 285] |
||
193 | VariableName "t" |
||
194 | Buffer "inf" |
||
195 | Decimation "1" |
||
196 | SampleTime "-1" |
||
197 | SaveFormat "Matrix" |
||
198 | } |
||
199 | Block { |
||
200 | BlockType ToWorkspace |
||
201 | Name "To Workspace1" |
||
202 | Position [370, 170, 430, 200] |
||
203 | VariableName "y" |
||
204 | Buffer "inf" |
||
205 | Decimation "1" |
||
206 | SampleTime "-1" |
||
207 | SaveFormat "Matrix" |
||
208 | } |
||
209 | Block { |
||
210 | BlockType ZeroOrderHold |
||
211 | Name "Zero-Order\nHold" |
||
212 | Position [210, 61, 245, 99] |
||
213 | SampleTime "0.017" |
||
214 | } |
||
215 | Line { |
||
216 | SrcBlock "Sum" |
||
217 | SrcPort 1 |
||
218 | DstBlock "State-Space" |
||
219 | DstPort 1 |
||
220 | } |
||
221 | Line { |
||
222 | SrcBlock "Constant" |
||
223 | SrcPort 1 |
||
224 | Points [0, 35; -30, 0; 0, 25] |
||
225 | DstBlock "Sum" |
||
226 | DstPort 1 |
||
227 | } |
||
228 | Line { |
||
229 | SrcBlock "Clock" |
||
230 | SrcPort 1 |
||
231 | Points [170, 0] |
||
232 | Branch { |
||
233 | Points [5, 0; 0, -20] |
||
234 | } |
||
235 | Branch { |
||
236 | DstBlock "To Workspace" |
||
237 | DstPort 1 |
||
238 | } |
||
239 | } |
||
240 | Line { |
||
241 | SrcBlock "Matrix\nGain" |
||
242 | SrcPort 1 |
||
243 | Points [0, 20; 10, 0; 0, -5; 20, 0] |
||
244 | Branch { |
||
245 | Points [20, 0] |
||
246 | DstBlock "To Workspace1" |
||
247 | DstPort 1 |
||
248 | } |
||
249 | Branch { |
||
250 | Points [0, -5; -5, 0; 0, 115] |
||
251 | DstBlock "Gain" |
||
252 | DstPort 1 |
||
253 | } |
||
254 | } |
||
255 | Line { |
||
256 | SrcBlock "Gain" |
||
257 | SrcPort 1 |
||
258 | Points [-85, 0] |
||
259 | DstBlock "Sum" |
||
260 | DstPort 2 |
||
261 | } |
||
262 | Line { |
||
263 | SrcBlock "State-Space" |
||
264 | SrcPort 1 |
||
265 | Points [10, 0] |
||
266 | DstBlock "Zero-Order\nHold" |
||
267 | DstPort 1 |
||
268 | } |
||
269 | Line { |
||
270 | SrcBlock "Zero-Order\nHold" |
||
271 | SrcPort 1 |
||
272 | Points [5, 0] |
||
273 | DstBlock "Matrix\nGain" |
||
274 | DstPort 1 |
||
275 | } |
||
276 | } |
||
277 | } |