150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
|
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "generic"
Location [40, 379, 681, 493]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType "S-Function"
Name "MTT Model Inputs"
Ports [1, 1]
Position [30, 39, 205, 71]
BackgroundColor "lightBlue"
DropShadow on
FunctionName "<mtt_model_name>_sfun_input"
PortCounts "[]"
SFunctionModules "''"
Port {
PortNumber 1
Name "MTT Model Inputs: MTTU"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType "S-Function"
Name "MTT Plant Model"
Ports [1, 2]
Position [320, 36, 465, 74]
BackgroundColor "lightBlue"
DropShadow on
FunctionName "<mtt_model_name>_sfun"
PortCounts "[]"
SFunctionModules "''"
Port {
PortNumber 1
Name "MTT Model States: MTTX"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
Port {
PortNumber 2
Name "MTT Model Outputs: MTTY"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [595, 49, 625, 81]
BackgroundColor "lightBlue"
DropShadow on
Floating off
Location [604, 136, 1156, 874]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "auto"
YMin "0"
YMax "1"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Line {
Name "MTT Model Inputs: MTTU"
Labels [0, 0]
SrcBlock "MTT Model Inputs"
SrcPort 1
DstBlock "MTT Plant Model"
DstPort 1
}
Line {
Name "MTT Model States: MTTX"
Labels [2, 0]
SrcBlock "MTT Plant Model"
SrcPort 1
Points [0, -30; -455, 0]
DstBlock "MTT Model Inputs"
DstPort 1
}
Line {
Name "MTT Model Outputs: MTTY"
Labels [-1, 0]
SrcBlock "MTT Plant Model"
SrcPort 2
DstBlock "Scope"
DstPort 1
}
}
}
|
|
|
|
>
>
>
>
>
>
>
>
>
>
|
|
>
|
>
|
|
|
|
<
|
>
|
|
>
>
>
>
>
|
|
<
<
|
|
|
<
|
|
|
|
|
|
>
|
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<
|
|
<
<
<
<
<
|
|
|
>
>
|
>
>
|
>
>
>
>
|
>
>
|
|
|
>
>
|
|
|
>
>
|
>
>
|
|
|
|
|
|
|
|
|
|
>
>
>
>
>
>
>
|
|
|
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
>
|
>
>
>
>
|
<
|
<
<
|
|
|
|
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
|
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "<mtt_model_name>"
Location [51, 441, 346, 574]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Inport
Name "In1"
Position [25, 43, 55, 57]
Port "1"
LatchInput off
DataType "double"
SignalType "real"
Interpolate on
}
Block {
BlockType SubSystem
Name "MTT Model\n<mtt_model_name>"
Ports [1, 1]
Position [100, 20, 140, 80]
ForegroundColor "blue"
BackgroundColor "lightBlue"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "MTT Model\n<mtt_model_name>"
Location [45, 448, 1008, 720]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [590, 203, 620, 217]
Port "1"
LatchInput off
DataType "double"
SignalType "real"
Interpolate on
}
Block {
BlockType "S-Function"
Name "MTT Model Inputs"
Ports [1, 1]
Position [390, 59, 565, 91]
BackgroundColor "lightBlue"
DropShadow on
FunctionName "<mtt_model_name>_sfun_input"
PortCounts "[]"
SFunctionModules "''"
Port {
PortNumber 1
Name "MTT Model Inputs: MTTU"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType "S-Function"
Name "MTT Plant Model"
Ports [1, 2]
Position [65, 61, 250, 199]
BackgroundColor "lightBlue"
DropShadow on
FunctionName "<mtt_model_name>_sfun"
PortCounts "[]"
SFunctionModules "''"
Port {
PortNumber 1
Name "MTT Model States: MTTX"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
Port {
PortNumber 2
Name "MTT Model Outputs: MTTY"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [4, 2]
Position [710, 47, 840, 238]
BackgroundColor "lightBlue"
DropShadow on
FunctionName "<mtt_model_name>_sfun_interface"
PortCounts "[]"
SFunctionModules "''"
}
Block {
BlockType Outport
Name "Out1"
Position [905, 183, 935, 197]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
Name "MTT Model States: MTTX"
Labels [2, 0]
SrcBlock "MTT Plant Model"
SrcPort 1
Points [0, 0; 105, 0]
Branch {
Points [0, -20]
DstBlock "MTT Model Inputs"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "S-Function"
DstPort 2
}
}
Line {
Name "MTT Model Outputs: MTTY"
Labels [1, 0]
SrcBlock "MTT Plant Model"
SrcPort 2
DstBlock "S-Function"
DstPort 3
}
Line {
Name "MTT Model Inputs: MTTU"
Labels [1, 0]
SrcBlock "MTT Model Inputs"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "S-Function"
SrcPort 1
Points [30, 0; 0, -70; -850, 0; 0, 105]
DstBlock "MTT Plant Model"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "S-Function"
DstPort 4
}
Line {
SrcBlock "S-Function"
SrcPort 2
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out1"
Position [185, 43, 215, 57]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "MTT Model\n<mtt_model_name>"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "MTT Model\n<mtt_model_name>"
DstPort 1
}
}
}
|