📄 aodv.mdl
字号:
Model { Name "AODV" Version 4.00 SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowStorageClass off ExecutionOrder off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off InitFcn "initsim" Created "Tue Jun 26 13:16:28 2001" Creator "anton" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%<Auto>" LastModifiedBy "anton" ModifiedDateFormat "%<Auto>" LastModifiedDate "Wed Jan 3 17:01:25 2007" ModelVersionFormat "1.%<AutoIncrement:315>" ConfigurationManager "none" SimParamPage "Solver" StartTime "0.0" StopTime "20" SolverMode "Auto" Solver "ode45" RelTol "1e-3" AbsTol "auto" Refine "1" MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" LimitDataPoints on MaxDataPoints "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" SingleTaskRateTransMsg "none" MultiTaskRateTransMsg "error" IntegerOverflowMsg "warning" CheckForMatrixSingularity "none" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" InvalidFcnCallConnMsg "error" SignalLabelMismatchMsg "none" LinearizationMsg "none" VectorMatrixConversionMsg "none" SfunCompatibilityCheckMsg "none" BlockPriorityViolationMsg "warning" ArrayBoundsChecking "none" ConsistencyChecking "none" ZeroCross on Profile off SimulationMode "normal" RTWSystemTargetFile "grt.tlc" RTWOptions "-aEnforceIntegerDowncast=1 -aFoldNonRolledExpr=1 -a""InlineInvariantSignals=0 -aInlineParameters=0 -aLocalBlockOutputs=1 -aRollThr""eshold=5 -aGenerateReport=0 -aGenCodeOnly=0 -aRTWVerbose=1 -aIncludeHyperlink""InReport=0 -aLaunchReport=0 -aForceParamTrailComments=0 -aGenerateComments=1 ""-aIgnoreCustomStorageClasses=1 -aIncHierarchyInIds=0 -aMaxRTWIdLen=31 -aShowE""liminatedStatements=0 -aPrefixModelToSubsysFcnNames=1 -aIncDataTypeInIds=0 -a""InsertBlockDesc=0 -aSimulinkBlockComments=1 -aInlinedPrmAccess=\"Literals\" ""-aSuppressErrorStatus=0 -aModelReferenceCompliant=1 -aSupportNonInlinedSFcns=""1 -aSupportContinuousTime=1 -aSupportComplex=1 -aSupportNonFinite=1 -aSupport""AbsoluteTime=1 -aTargetPreCompLibLocation=\"\" -aTargetLibSuffix=\"\" -aTarge""tFcnLib=\"ansi_tfl_tmw.mat\" -aMultiInstanceERTCode=0 -aLogVarNameModifier=\"""rt_\" -aERTFirstTimeCompliant=0 -aIsPILTarget=0 -aCombineOutputUpdateFcns=0 -""aGenerateASAP2=0 -aGenerateTestInterfaces=0 -aGenerateSampleERTMain=0 -aGener""ateFullHeader=1 -aUtilityFuncGeneration=\"Auto\" -aIncludeFileDelimiter=\"Aut""o\" -aIncludeERTFirstTime=1 -aIncludeMdlTerminateFcn=1 -aPurelyIntegerCode=0 ""-aERTCustomFileBanners=0 -aRTWCAPIStates=0 -aRTWCAPIParams=0 -aRTWCAPISignals""=0 -aMatFileLogging=1 -aGenFloatMathFcnCalls=\"ANSI_C\" -aExtModeMexFile=\"ex""t_comm\" -aExtModeTransport=0 -aExtModeStaticAllocSize=1000000 -aExtModeTesti""ng=0 -aExtModeStaticAlloc=0 -aExtMode=0 " RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off TLCProfiler off TLCDebug off TLCCoverage off AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock off OptimizeBlockIOStorage on BufferReuse on ParameterPooling on BlockReductionOpt off RTWExpressionDepthLimit 5 BooleanDataType off BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "AODV" Location [313, 77, 1041, 941] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "portrait" PaperPositionMode "auto" PaperType "A4" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType SubSystem Name "Animation" Ports [2] Position [290, 642, 365, 693] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskPromptString "Number of Nodes|xMax|YMax|Update period|x0|y0" MaskStyleString "edit,edit,edit,edit,edit,edit" MaskTunableValueString "on,on,on,on,on,on" MaskCallbackString "|||||" MaskEnableString "on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on" MaskVariables "numMotes=@1;xmax=@2;ymax=@3;ts=@4;x0=@5;y0=@6;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "7|30|30|0.1|xPos|yPos" MaskVariableAliases ",,,,," System { Name "Animation" Location [505, 671, 728, 791] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "x" Position [20, 28, 50, 42] Port "1" LatchInput off Interpolate on } Block { BlockType Inport Name "y" Position [20, 63, 50, 77] Port "2" LatchInput off Interpolate on } Block { BlockType "S-Function" Name "Mote Animation" Ports [1] Position [115, 37, 195, 73] DeleteFcn "if ~isempty(findobj('type','figure','name',""'dblpend1 Animation'));close('dblpend1 Animation'); end;" FunctionName "moteanimation" Parameters "[numMotes ts xmax ymax] x0 y0" PortCounts "[]" SFunctionModules "''" } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [85, 36, 90, 74] ShowName off Inputs "2" DisplayOption "bar" } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Mote Animation" DstPort 1 } Line { SrcBlock "y" SrcPort 1 Points [5, 0; 0, -5] DstBlock "Mux" DstPort 2 } Line { SrcBlock "x" SrcPort 1 Points [5, 0; 0, 10] DstBlock "Mux" DstPort 1 } } } Block { BlockType Clock Name "Clock" Position [230, 20, 250, 40] DisplayTime off Decimation "10" } Block { BlockType Demux Name "Demux" Ports [1, 7] Position [515, 562, 520, 658] BackgroundColor "black" ShowName off Outputs "7" BusSelectionMode off } Block { BlockType Display Name "Display" Ports [1] Position [320, 15, 410, 45] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType From Name "From1" Position [50, 112, 90, 128] ShowName off CloseFcn "tagdialog Close" GotoTag "rcv1" } Block { BlockType From Name "From2" Position [50, 207, 90, 223] ShowName off CloseFcn "tagdialog Close" GotoTag "rcv2" } Block { BlockType From Name "From3" Position [50, 302, 90, 318] ShowName off CloseFcn "tagdialog Close" GotoTag "rcv3" } Block { BlockType From Name "From4" Position [50, 397, 90, 413] ShowName off CloseFcn "tagdialog Close" GotoTag "rcv4" } Block { BlockType From Name "From41" Position [110, 616, 135, 634] ShowName off CloseFcn "tagdialog Close" GotoTag "x2" } Block { BlockType From Name "From42" Position [140, 631, 165, 649] ShowName off CloseFcn "tagdialog Close" GotoTag "x3" } Block { BlockType From Name "From43" Position [110, 646, 135, 664] ShowName off CloseFcn "tagdialog Close" GotoTag "x4" } Block { BlockType From Name "From44" Position [110, 736, 135, 754] ShowName off CloseFcn "tagdialog Close" GotoTag "y2" } Block { BlockType From Name "From45" Position [140, 751, 165, 769] ShowName off CloseFcn "tagdialog Close" GotoTag "y3" } Block { BlockType From Name "From46" Position [110, 766, 135, 784] ShowName off CloseFcn "tagdialog Close" GotoTag "y4" } Block { BlockType From Name "From48" Position [180, 546, 210, 564] ShowName off CloseFcn "tagdialog Close" GotoTag "snd5" } Block { BlockType From Name "From49" Position [135, 561, 175, 579] ShowName off CloseFcn "tagdialog Close" GotoTag "snd6" } Block { BlockType From Name "From5" Position [395, 207, 435, 223] ShowName off CloseFcn "tagdialog Close" GotoTag "rcv5" } Block { BlockType From Name "From50" Position [180, 576, 210, 594] ShowName off CloseFcn "tagdialog Close" GotoTag "snd7" } Block { BlockType From Name "From53" Position [140, 661, 165, 679] ShowName off CloseFcn "tagdialog Close" GotoTag "x5" } Block { BlockType From Name "From54" Position [110, 676, 135, 694] ShowName off CloseFcn "tagdialog Close" GotoTag "x6" } Block { BlockType From Name "From55" Position [140, 691, 165, 709] ShowName off CloseFcn "tagdialog Close" GotoTag "x7" } Block { BlockType From Name "From56" Position [140, 781, 165, 799] ShowName off CloseFcn "tagdialog Close" GotoTag "y5" } Block { BlockType From Name "From57" Position [110, 796, 135, 814] ShowName off CloseFcn "tagdialog Close" GotoTag "y6" } Block { BlockType From Name "From58" Position [140, 811, 165, 829] ShowName off CloseFcn "tagdialog Close" GotoTag "y7" } Block { BlockType From Name "From6" Position [395, 302, 435, 318] ShowName off CloseFcn "tagdialog Close" GotoTag "rcv6" } Block { BlockType From Name "From61" Position [180, 487, 210, 503] ShowName off CloseFcn "tagdialog Close" GotoTag "snd1" } Block { BlockType From Name "From65" Position [135, 502, 175, 518] ShowName off CloseFcn "tagdialog Close" GotoTag "snd2" } Block { BlockType From Name "From66" Position [140, 721, 165, 739] ShowName off CloseFcn "tagdialog Close" GotoTag "y1" } Block { BlockType From Name "From67" Position [180, 516, 210, 534] ShowName off CloseFcn "tagdialog Close" GotoTag "snd3" } Block { BlockType From Name "From68" Position [135, 532, 175, 548] ShowName off CloseFcn "tagdialog Close" GotoTag "snd4" } Block { BlockType From Name "From7" Position [395, 397, 435, 413] ShowName off CloseFcn "tagdialog Close" GotoTag "rcv7" } Block { BlockType From Name "From70" Position [140, 601, 165, 619] ShowName off CloseFcn "tagdialog Close" GotoTag "x1" } Block { BlockType Goto Name "Goto1" Position [240, 232, 275, 248] ShowName off GotoTag "snd2" TagVisibility "global" } Block { BlockType Goto Name "Goto10" Position [240, 422, 275, 438] ShowName off GotoTag "snd4" TagVisibility "global" } Block { BlockType Goto Name "Goto11" Position [245, 396, 270, 414] ShowName off GotoTag "y4" TagVisibility "global" } Block { BlockType Goto Name "Goto12" Position [245, 371, 270, 389] ShowName off GotoTag "x4" TagVisibility "global" } Block { BlockType Goto Name "Goto13" Position [585, 232, 620, 248] ShowName off GotoTag "snd5" TagVisibility "global" } Block { BlockType Goto Name "Goto14" Position [590, 206, 615, 224] ShowName off GotoTag "y5" TagVisibility "global"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -