Mercurial > hg > ltpda
comparison m-toolbox/sltpda/test/test_resample.mdl @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 Model { | |
2 Name "test_resample" | |
3 Version 6.6 | |
4 MdlSubVersion 0 | |
5 GraphicalInterface { | |
6 NumRootInports 0 | |
7 NumRootOutports 0 | |
8 ParameterArgumentNames "" | |
9 ComputedModelVersion "1.3" | |
10 NumModelReferences 0 | |
11 NumTestPointedSignals 0 | |
12 } | |
13 SavedCharacterEncoding "ISO-8859-1" | |
14 SaveDefaultBlockParams on | |
15 SampleTimeColors off | |
16 LibraryLinkDisplay "none" | |
17 WideLines off | |
18 ShowLineDimensions off | |
19 ShowPortDataTypes off | |
20 ShowLoopsOnError on | |
21 IgnoreBidirectionalLines off | |
22 ShowStorageClass off | |
23 ShowTestPointIcons on | |
24 ShowViewerIcons on | |
25 SortedOrder off | |
26 ExecutionContextIcon off | |
27 ShowLinearizationAnnotations on | |
28 ScopeRefreshTime 0.035000 | |
29 OverrideScopeRefreshTime on | |
30 DisableAllScopes off | |
31 DataTypeOverride "UseLocalSettings" | |
32 MinMaxOverflowLogging "UseLocalSettings" | |
33 MinMaxOverflowArchiveMode "Overwrite" | |
34 BlockNameDataTip off | |
35 BlockParametersDataTip off | |
36 BlockDescriptionStringDataTip off | |
37 ToolBar on | |
38 StatusBar on | |
39 BrowserShowLibraryLinks off | |
40 BrowserLookUnderMasks off | |
41 Created "Sat Apr 7 19:33:16 2007" | |
42 Creator "hewitson" | |
43 UpdateHistory "UpdateHistoryNever" | |
44 ModifiedByFormat "%<Auto>" | |
45 LastModifiedBy "hewitson" | |
46 ModifiedDateFormat "%<Auto>" | |
47 LastModifiedDate "Sat Apr 7 19:39:52 2007" | |
48 ModelVersionFormat "1.%<AutoIncrement:3>" | |
49 ConfigurationManager "cvs" | |
50 SimulationMode "normal" | |
51 LinearizationMsg "none" | |
52 Profile off | |
53 ParamWorkspaceSource "MATLABWorkspace" | |
54 AccelSystemTargetFile "accel.tlc" | |
55 AccelTemplateMakefile "accel_default_tmf" | |
56 AccelMakeCommand "make_rtw" | |
57 AccelVerboseBuild off | |
58 TryForcingSFcnDF off | |
59 RecordCoverage off | |
60 CovPath "/" | |
61 CovSaveName "covdata" | |
62 CovMetricSettings "dw" | |
63 CovNameIncrementing off | |
64 CovHtmlReporting on | |
65 covSaveCumulativeToWorkspaceVar on | |
66 CovSaveSingleToWorkspaceVar on | |
67 CovCumulativeVarName "covCumulativeData" | |
68 CovCumulativeReport off | |
69 CovReportOnPause on | |
70 ExtModeBatchMode off | |
71 ExtModeEnableFloating on | |
72 ExtModeTrigType "manual" | |
73 ExtModeTrigMode "normal" | |
74 ExtModeTrigPort "1" | |
75 ExtModeTrigElement "any" | |
76 ExtModeTrigDuration 1000 | |
77 ExtModeTrigDurationFloating "auto" | |
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 on | |
88 ExtModeSkipDownloadWhenConnect off | |
89 ExtModeLogAll on | |
90 ExtModeAutoUpdateStatusClock off | |
91 BufferReuse on | |
92 ProdHWDeviceType "32-bit Generic" | |
93 ShowModelReferenceBlockVersion off | |
94 ShowModelReferenceBlockIO off | |
95 Array { | |
96 Type "Handle" | |
97 Dimension 1 | |
98 Simulink.ConfigSet { | |
99 $ObjectID 1 | |
100 Version "1.2.0" | |
101 Array { | |
102 Type "Handle" | |
103 Dimension 7 | |
104 Simulink.SolverCC { | |
105 $ObjectID 2 | |
106 Version "1.2.0" | |
107 StartTime "0.0" | |
108 StopTime "10.0" | |
109 AbsTol "auto" | |
110 FixedStep "auto" | |
111 InitialStep "auto" | |
112 MaxNumMinSteps "-1" | |
113 MaxOrder 5 | |
114 ConsecutiveZCsStepRelTol "10*128*eps" | |
115 MaxConsecutiveZCs "1000" | |
116 ExtrapolationOrder 4 | |
117 NumberNewtonIterations 1 | |
118 MaxStep "auto" | |
119 MinStep "auto" | |
120 MaxConsecutiveMinStep "1" | |
121 RelTol "1e-3" | |
122 SolverMode "Auto" | |
123 Solver "ode45" | |
124 SolverName "ode45" | |
125 ZeroCrossControl "UseLocalSettings" | |
126 AlgebraicLoopSolver "TrustRegion" | |
127 SolverResetMethod "Fast" | |
128 PositivePriorityOrder off | |
129 AutoInsertRateTranBlk off | |
130 SampleTimeConstraint "Unconstrained" | |
131 RateTranMode "Deterministic" | |
132 } | |
133 Simulink.DataIOCC { | |
134 $ObjectID 3 | |
135 Version "1.2.0" | |
136 Decimation "1" | |
137 ExternalInput "[t, u]" | |
138 FinalStateName "xFinal" | |
139 InitialState "xInitial" | |
140 LimitDataPoints on | |
141 MaxDataPoints "1000" | |
142 LoadExternalInput off | |
143 LoadInitialState off | |
144 SaveFinalState off | |
145 SaveFormat "Array" | |
146 SaveOutput on | |
147 SaveState off | |
148 SignalLogging on | |
149 InspectSignalLogs off | |
150 SaveTime on | |
151 StateSaveName "xout" | |
152 TimeSaveName "tout" | |
153 OutputSaveName "yout" | |
154 SignalLoggingName "logsout" | |
155 OutputOption "RefineOutputTimes" | |
156 OutputTimes "[]" | |
157 Refine "1" | |
158 } | |
159 Simulink.OptimizationCC { | |
160 $ObjectID 4 | |
161 Array { | |
162 Type "Cell" | |
163 Dimension 5 | |
164 Cell "ZeroExternalMemoryAtStartup" | |
165 Cell "ZeroInternalMemoryAtStartup" | |
166 Cell "InitFltsAndDblsToZero" | |
167 Cell "OptimizeModelRefInitCode" | |
168 Cell "NoFixptDivByZeroProtection" | |
169 PropName "DisabledProps" | |
170 } | |
171 Version "1.2.0" | |
172 BlockReduction on | |
173 BooleanDataType on | |
174 ConditionallyExecuteInputs on | |
175 InlineParams off | |
176 InlineInvariantSignals off | |
177 OptimizeBlockIOStorage on | |
178 BufferReuse on | |
179 EnforceIntegerDowncast on | |
180 ExpressionFolding on | |
181 ExpressionDepthLimit 2147483647 | |
182 FoldNonRolledExpr on | |
183 LocalBlockOutputs on | |
184 RollThreshold 5 | |
185 SystemCodeInlineAuto off | |
186 StateBitsets off | |
187 DataBitsets off | |
188 UseTempVars off | |
189 ZeroExternalMemoryAtStartup on | |
190 ZeroInternalMemoryAtStartup on | |
191 InitFltsAndDblsToZero on | |
192 NoFixptDivByZeroProtection off | |
193 EfficientFloat2IntCast off | |
194 OptimizeModelRefInitCode off | |
195 LifeSpan "inf" | |
196 BufferReusableBoundary on | |
197 } | |
198 Simulink.DebuggingCC { | |
199 $ObjectID 5 | |
200 Version "1.2.0" | |
201 RTPrefix "error" | |
202 ConsistencyChecking "none" | |
203 ArrayBoundsChecking "none" | |
204 SignalInfNanChecking "none" | |
205 ReadBeforeWriteMsg "UseLocalSettings" | |
206 WriteAfterWriteMsg "UseLocalSettings" | |
207 WriteAfterReadMsg "UseLocalSettings" | |
208 AlgebraicLoopMsg "warning" | |
209 ArtificialAlgebraicLoopMsg "warning" | |
210 CheckSSInitialOutputMsg on | |
211 CheckExecutionContextPreStartOutputMsg off | |
212 CheckExecutionContextRuntimeOutputMsg off | |
213 SignalResolutionControl "UseLocalSettings" | |
214 BlockPriorityViolationMsg "warning" | |
215 MinStepSizeMsg "warning" | |
216 TimeAdjustmentMsg "none" | |
217 MaxConsecutiveZCsMsg "error" | |
218 SolverPrmCheckMsg "warning" | |
219 InheritedTsInSrcMsg "warning" | |
220 DiscreteInheritContinuousMsg "warning" | |
221 MultiTaskDSMMsg "error" | |
222 MultiTaskCondExecSysMsg "error" | |
223 MultiTaskRateTransMsg "error" | |
224 SingleTaskRateTransMsg "none" | |
225 TasksWithSamePriorityMsg "warning" | |
226 SigSpecEnsureSampleTimeMsg "warning" | |
227 CheckMatrixSingularityMsg "none" | |
228 IntegerOverflowMsg "warning" | |
229 Int32ToFloatConvMsg "warning" | |
230 ParameterDowncastMsg "error" | |
231 ParameterOverflowMsg "error" | |
232 ParameterUnderflowMsg "none" | |
233 ParameterPrecisionLossMsg "warning" | |
234 ParameterTunabilityLossMsg "warning" | |
235 UnderSpecifiedDataTypeMsg "none" | |
236 UnnecessaryDatatypeConvMsg "none" | |
237 VectorMatrixConversionMsg "none" | |
238 InvalidFcnCallConnMsg "error" | |
239 FcnCallInpInsideContextMsg "Use local settings" | |
240 SignalLabelMismatchMsg "none" | |
241 UnconnectedInputMsg "warning" | |
242 UnconnectedOutputMsg "warning" | |
243 UnconnectedLineMsg "warning" | |
244 SFcnCompatibilityMsg "none" | |
245 UniqueDataStoreMsg "none" | |
246 BusObjectLabelMismatch "warning" | |
247 RootOutportRequireBusObject "warning" | |
248 AssertControl "UseLocalSettings" | |
249 EnableOverflowDetection off | |
250 ModelReferenceIOMsg "none" | |
251 ModelReferenceVersionMismatchMessage "none" | |
252 ModelReferenceIOMismatchMessage "none" | |
253 ModelReferenceCSMismatchMessage "none" | |
254 ModelReferenceSimTargetVerbose off | |
255 UnknownTsInhSupMsg "warning" | |
256 ModelReferenceDataLoggingMessage "warning" | |
257 ModelReferenceSymbolNameMessage "warning" | |
258 ModelReferenceExtraNoncontSigs "error" | |
259 StateNameClashWarn "warning" | |
260 StrictBusMsg "Warning" | |
261 } | |
262 Simulink.HardwareCC { | |
263 $ObjectID 6 | |
264 Version "1.2.0" | |
265 ProdBitPerChar 8 | |
266 ProdBitPerShort 16 | |
267 ProdBitPerInt 32 | |
268 ProdBitPerLong 32 | |
269 ProdIntDivRoundTo "Undefined" | |
270 ProdEndianess "Unspecified" | |
271 ProdWordSize 32 | |
272 ProdShiftRightIntArith on | |
273 ProdHWDeviceType "32-bit Generic" | |
274 TargetBitPerChar 8 | |
275 TargetBitPerShort 16 | |
276 TargetBitPerInt 32 | |
277 TargetBitPerLong 32 | |
278 TargetShiftRightIntArith on | |
279 TargetIntDivRoundTo "Undefined" | |
280 TargetEndianess "Unspecified" | |
281 TargetWordSize 32 | |
282 TargetTypeEmulationWarnSuppressLevel 0 | |
283 TargetPreprocMaxBitsSint 32 | |
284 TargetPreprocMaxBitsUint 32 | |
285 TargetHWDeviceType "Specified" | |
286 TargetUnknown off | |
287 ProdEqTarget on | |
288 } | |
289 Simulink.ModelReferenceCC { | |
290 $ObjectID 7 | |
291 Version "1.2.0" | |
292 UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" | |
293 CheckModelReferenceTargetMessage "error" | |
294 ModelReferenceNumInstancesAllowed "Multi" | |
295 ModelReferencePassRootInputsByReference on | |
296 ModelReferenceMinAlgLoopOccurrences off | |
297 } | |
298 Simulink.RTWCC { | |
299 $BackupClass "Simulink.RTWCC" | |
300 $ObjectID 8 | |
301 Array { | |
302 Type "Cell" | |
303 Dimension 1 | |
304 Cell "IncludeHyperlinkInReport" | |
305 PropName "DisabledProps" | |
306 } | |
307 Version "1.2.0" | |
308 SystemTargetFile "grt.tlc" | |
309 GenCodeOnly off | |
310 MakeCommand "make_rtw" | |
311 GenerateMakefile on | |
312 TemplateMakefile "grt_default_tmf" | |
313 GenerateReport off | |
314 SaveLog off | |
315 RTWVerbose on | |
316 RetainRTWFile off | |
317 ProfileTLC off | |
318 TLCDebug off | |
319 TLCCoverage off | |
320 TLCAssert off | |
321 ProcessScriptMode "Default" | |
322 ConfigurationMode "Optimized" | |
323 ConfigAtBuild off | |
324 IncludeHyperlinkInReport off | |
325 LaunchReport off | |
326 TargetLang "C" | |
327 IncludeBusHierarchyInRTWFileBlockHierarchyMap off | |
328 IncludeERTFirstTime off | |
329 Array { | |
330 Type "Handle" | |
331 Dimension 2 | |
332 Simulink.CodeAppCC { | |
333 $ObjectID 9 | |
334 Array { | |
335 Type "Cell" | |
336 Dimension 16 | |
337 Cell "IgnoreCustomStorageClasses" | |
338 Cell "InsertBlockDesc" | |
339 Cell "SFDataObjDesc" | |
340 Cell "SimulinkDataObjDesc" | |
341 Cell "DefineNamingRule" | |
342 Cell "SignalNamingRule" | |
343 Cell "ParamNamingRule" | |
344 Cell "InlinedPrmAccess" | |
345 Cell "CustomSymbolStr" | |
346 Cell "CustomSymbolStrGlobalVar" | |
347 Cell "CustomSymbolStrType" | |
348 Cell "CustomSymbolStrField" | |
349 Cell "CustomSymbolStrFcn" | |
350 Cell "CustomSymbolStrBlkIO" | |
351 Cell "CustomSymbolStrTmpVar" | |
352 Cell "CustomSymbolStrMacro" | |
353 PropName "DisabledProps" | |
354 } | |
355 Version "1.2.0" | |
356 ForceParamTrailComments off | |
357 GenerateComments on | |
358 IgnoreCustomStorageClasses on | |
359 IncHierarchyInIds off | |
360 MaxIdLength 31 | |
361 PreserveName off | |
362 PreserveNameWithParent off | |
363 ShowEliminatedStatement off | |
364 IncAutoGenComments off | |
365 SimulinkDataObjDesc off | |
366 SFDataObjDesc off | |
367 IncDataTypeInIds off | |
368 PrefixModelToSubsysFcnNames on | |
369 MangleLength 1 | |
370 CustomSymbolStrGlobalVar "$R$N$M" | |
371 CustomSymbolStrType "$N$R$M" | |
372 CustomSymbolStrField "$N$M" | |
373 CustomSymbolStrFcn "$R$N$M$F" | |
374 CustomSymbolStrBlkIO "rtb_$N$M" | |
375 CustomSymbolStrTmpVar "$N$M" | |
376 CustomSymbolStrMacro "$R$N$M" | |
377 DefineNamingRule "None" | |
378 ParamNamingRule "None" | |
379 SignalNamingRule "None" | |
380 InsertBlockDesc off | |
381 SimulinkBlockComments on | |
382 EnableCustomComments off | |
383 InlinedPrmAccess "Literals" | |
384 ReqsInCode off | |
385 } | |
386 Simulink.GRTTargetCC { | |
387 $BackupClass "Simulink.TargetCC" | |
388 $ObjectID 10 | |
389 Array { | |
390 Type "Cell" | |
391 Dimension 15 | |
392 Cell "IncludeMdlTerminateFcn" | |
393 Cell "CombineOutputUpdateFcns" | |
394 Cell "SuppressErrorStatus" | |
395 Cell "ERTCustomFileBanners" | |
396 Cell "GenerateSampleERTMain" | |
397 Cell "GenerateTestInterfaces" | |
398 Cell "ModelStepFunctionPrototypeControlComp" | |
399 "liant" | |
400 Cell "MultiInstanceERTCode" | |
401 Cell "PurelyIntegerCode" | |
402 Cell "SupportNonFinite" | |
403 Cell "SupportComplex" | |
404 Cell "SupportAbsoluteTime" | |
405 Cell "SupportContinuousTime" | |
406 Cell "SupportNonInlinedSFcns" | |
407 Cell "PortableWordSizes" | |
408 PropName "DisabledProps" | |
409 } | |
410 Version "1.2.0" | |
411 TargetFcnLib "ansi_tfl_tmw.mat" | |
412 TargetLibSuffix "" | |
413 TargetPreCompLibLocation "" | |
414 GenFloatMathFcnCalls "ANSI_C" | |
415 UtilityFuncGeneration "Auto" | |
416 GenerateFullHeader on | |
417 GenerateSampleERTMain off | |
418 GenerateTestInterfaces off | |
419 IsPILTarget off | |
420 ModelReferenceCompliant on | |
421 IncludeMdlTerminateFcn on | |
422 CombineOutputUpdateFcns off | |
423 SuppressErrorStatus off | |
424 IncludeFileDelimiter "Auto" | |
425 ERTCustomFileBanners off | |
426 SupportAbsoluteTime on | |
427 LogVarNameModifier "rt_" | |
428 MatFileLogging on | |
429 MultiInstanceERTCode off | |
430 SupportNonFinite on | |
431 SupportComplex on | |
432 PurelyIntegerCode off | |
433 SupportContinuousTime on | |
434 SupportNonInlinedSFcns on | |
435 EnableShiftOperators on | |
436 ParenthesesLevel "Nominal" | |
437 PortableWordSizes off | |
438 ModelStepFunctionPrototypeControlCompliant off | |
439 ExtMode off | |
440 ExtModeStaticAlloc off | |
441 ExtModeTesting off | |
442 ExtModeStaticAllocSize 1000000 | |
443 ExtModeTransport 0 | |
444 ExtModeMexFile "ext_comm" | |
445 RTWCAPISignals off | |
446 RTWCAPIParams off | |
447 RTWCAPIStates off | |
448 GenerateASAP2 off | |
449 } | |
450 PropName "Components" | |
451 } | |
452 } | |
453 PropName "Components" | |
454 } | |
455 Name "Configuration" | |
456 CurrentDlgPage "Solver" | |
457 } | |
458 PropName "ConfigurationSets" | |
459 } | |
460 Simulink.ConfigSet { | |
461 $PropName "ActiveConfigurationSet" | |
462 $ObjectID 1 | |
463 } | |
464 BlockDefaults { | |
465 Orientation "right" | |
466 ForegroundColor "black" | |
467 BackgroundColor "white" | |
468 DropShadow off | |
469 NamePlacement "normal" | |
470 FontName "Helvetica" | |
471 FontSize 10 | |
472 FontWeight "normal" | |
473 FontAngle "normal" | |
474 ShowName on | |
475 } | |
476 BlockParameterDefaults { | |
477 Block { | |
478 BlockType Inport | |
479 Port "1" | |
480 UseBusObject off | |
481 BusObject "BusObject" | |
482 BusOutputAsStruct off | |
483 PortDimensions "-1" | |
484 SampleTime "-1" | |
485 DataType "auto" | |
486 OutDataType "sfix(16)" | |
487 OutScaling "2^0" | |
488 SignalType "auto" | |
489 SamplingMode "auto" | |
490 LatchByDelayingOutsideSignal off | |
491 LatchByCopyingInsideSignal off | |
492 Interpolate on | |
493 } | |
494 Block { | |
495 BlockType Mux | |
496 Inputs "4" | |
497 DisplayOption "none" | |
498 UseBusObject off | |
499 BusObject "BusObject" | |
500 NonVirtualBus off | |
501 } | |
502 Block { | |
503 BlockType Outport | |
504 Port "1" | |
505 UseBusObject off | |
506 BusObject "BusObject" | |
507 BusOutputAsStruct off | |
508 PortDimensions "-1" | |
509 SampleTime "-1" | |
510 DataType "auto" | |
511 OutDataType "sfix(16)" | |
512 OutScaling "2^0" | |
513 SignalType "auto" | |
514 SamplingMode "auto" | |
515 OutputWhenDisabled "held" | |
516 InitialOutput "[]" | |
517 } | |
518 Block { | |
519 BlockType SubSystem | |
520 ShowPortLabels "FromPortIcon" | |
521 Permissions "ReadWrite" | |
522 PermitHierarchicalResolution "All" | |
523 TreatAsAtomicUnit off | |
524 SystemSampleTime "-1" | |
525 RTWFcnNameOpts "Auto" | |
526 RTWFileNameOpts "Auto" | |
527 RTWMemSecFuncInitTerm "Inherit from model" | |
528 RTWMemSecFuncExecute "Inherit from model" | |
529 RTWMemSecDataConstants "Inherit from model" | |
530 RTWMemSecDataInternal "Inherit from model" | |
531 RTWMemSecDataParameters "Inherit from model" | |
532 SimViewingDevice off | |
533 DataTypeOverride "UseLocalSettings" | |
534 MinMaxOverflowLogging "UseLocalSettings" | |
535 } | |
536 } | |
537 AnnotationDefaults { | |
538 HorizontalAlignment "center" | |
539 VerticalAlignment "middle" | |
540 ForegroundColor "black" | |
541 BackgroundColor "white" | |
542 DropShadow off | |
543 FontName "Helvetica" | |
544 FontSize 10 | |
545 FontWeight "normal" | |
546 FontAngle "normal" | |
547 UseDisplayTextAsClickCallback off | |
548 } | |
549 LineDefaults { | |
550 FontName "Helvetica" | |
551 FontSize 9 | |
552 FontWeight "normal" | |
553 FontAngle "normal" | |
554 } | |
555 System { | |
556 Name "test_resample" | |
557 Location [239, 199, 819, 459] | |
558 Open on | |
559 ModelBrowserVisibility off | |
560 ModelBrowserWidth 200 | |
561 ScreenColor "white" | |
562 PaperOrientation "landscape" | |
563 PaperPositionMode "auto" | |
564 PaperType "A4" | |
565 PaperUnits "inches" | |
566 TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] | |
567 TiledPageScale 1 | |
568 ShowPageBoundaries off | |
569 ZoomFactor "100" | |
570 ReportName "simulink-default.rpt" | |
571 Block { | |
572 BlockType Mux | |
573 Name "Mux" | |
574 Ports [2, 1] | |
575 Position [340, 76, 345, 114] | |
576 ShowName off | |
577 Inputs "2" | |
578 DisplayOption "bar" | |
579 } | |
580 Block { | |
581 BlockType Reference | |
582 Name "Signal Generator" | |
583 Tag "ao" | |
584 Ports [0, 1] | |
585 Position [80, 56, 130, 104] | |
586 AttributesFormatString "%<tsfcn>" | |
587 SourceBlock "sltpda/AO class/Signal Generator" | |
588 SourceType "ao" | |
589 ShowPortLabels "FromPortIcon" | |
590 SystemSampleTime "-1" | |
591 FunctionWithSeparateData off | |
592 RTWMemSecFuncInitTerm "Inherit from model" | |
593 RTWMemSecFuncExecute "Inherit from model" | |
594 RTWMemSecDataConstants "Inherit from model" | |
595 RTWMemSecDataInternal "Inherit from model" | |
596 RTWMemSecDataParameters "Inherit from model" | |
597 nsecs "10" | |
598 fs "100" | |
599 tsfcn "sin(2*pi*0.3*t)" | |
600 } | |
601 Block { | |
602 BlockType Reference | |
603 Name "display" | |
604 Tag "display" | |
605 Ports [1] | |
606 Position [450, 20, 495, 60] | |
607 SourceBlock "sltpda/AO class/display" | |
608 SourceType "display" | |
609 ShowPortLabels "FromPortIcon" | |
610 SystemSampleTime "-1" | |
611 FunctionWithSeparateData off | |
612 RTWMemSecFuncInitTerm "Inherit from model" | |
613 RTWMemSecFuncExecute "Inherit from model" | |
614 RTWMemSecDataConstants "Inherit from model" | |
615 RTWMemSecDataInternal "Inherit from model" | |
616 RTWMemSecDataParameters "Inherit from model" | |
617 } | |
618 Block { | |
619 BlockType Reference | |
620 Name "get" | |
621 Tag "get" | |
622 Description "Get the propery of an analysis object." | |
623 Ports [1, 1] | |
624 Position [375, 23, 420, 57] | |
625 AttributesFormatString "%<Tag>\\n%<param>" | |
626 SourceBlock "sltpda/AO class/get" | |
627 SourceType "get" | |
628 ShowPortLabels "FromPortIcon" | |
629 SystemSampleTime "-1" | |
630 FunctionWithSeparateData off | |
631 RTWMemSecFuncInitTerm "Inherit from model" | |
632 RTWMemSecFuncExecute "Inherit from model" | |
633 RTWMemSecDataConstants "Inherit from model" | |
634 RTWMemSecDataInternal "Inherit from model" | |
635 RTWMemSecDataParameters "Inherit from model" | |
636 param "data" | |
637 } | |
638 Block { | |
639 BlockType Reference | |
640 Name "plot" | |
641 Tag "plot" | |
642 Description "Plot an analysis object." | |
643 Ports [1] | |
644 Position [380, 79, 410, 111] | |
645 AttributesFormatString "%<Tag>" | |
646 SourceBlock "sltpda/AO class/plot" | |
647 SourceType "plot" | |
648 ShowPortLabels "FromPortIcon" | |
649 SystemSampleTime "-1" | |
650 FunctionWithSeparateData off | |
651 RTWMemSecFuncInitTerm "Inherit from model" | |
652 RTWMemSecFuncExecute "Inherit from model" | |
653 RTWMemSecDataConstants "Inherit from model" | |
654 RTWMemSecDataInternal "Inherit from model" | |
655 RTWMemSecDataParameters "Inherit from model" | |
656 xscale "linear" | |
657 yscale "linear" | |
658 } | |
659 Block { | |
660 BlockType Reference | |
661 Name "resample" | |
662 Tag "resample" | |
663 Ports [1, 1] | |
664 Position [225, 60, 300, 100] | |
665 SourceBlock "sltpda/Signal Processing blocks/resample" | |
666 SourceType "resample" | |
667 ShowPortLabels "FromPortIcon" | |
668 SystemSampleTime "-1" | |
669 FunctionWithSeparateData off | |
670 RTWMemSecFuncInitTerm "Inherit from model" | |
671 RTWMemSecFuncExecute "Inherit from model" | |
672 RTWMemSecDataConstants "Inherit from model" | |
673 RTWMemSecDataInternal "Inherit from model" | |
674 RTWMemSecDataParameters "Inherit from model" | |
675 fsout "128" | |
676 } | |
677 Line { | |
678 SrcBlock "Signal Generator" | |
679 SrcPort 1 | |
680 Points [55, 0] | |
681 Branch { | |
682 DstBlock "resample" | |
683 DstPort 1 | |
684 } | |
685 Branch { | |
686 Points [0, 25] | |
687 DstBlock "Mux" | |
688 DstPort 2 | |
689 } | |
690 } | |
691 Line { | |
692 SrcBlock "resample" | |
693 SrcPort 1 | |
694 Points [10, 0; 0, 5] | |
695 DstBlock "Mux" | |
696 DstPort 1 | |
697 } | |
698 Line { | |
699 SrcBlock "Mux" | |
700 SrcPort 1 | |
701 Points [10, 0] | |
702 Branch { | |
703 DstBlock "plot" | |
704 DstPort 1 | |
705 } | |
706 Branch { | |
707 DstBlock "get" | |
708 DstPort 1 | |
709 } | |
710 } | |
711 Line { | |
712 SrcBlock "get" | |
713 SrcPort 1 | |
714 DstBlock "display" | |
715 DstPort 1 | |
716 } | |
717 } | |
718 } |