📄 vdp2d.mdl
字号:
Model {
Name "vdp2d"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes off
StartTime "0.0"
StopTime "inf"
SolverMode "SingleTasking"
Solver "ode45"
RelTol "1e-3"
AbsTol "1e-6"
Refine "1"
MaxStep "auto"
InitialStep "auto"
FixedStep "auto"
MaxOrder 5
OutputOption "RefineOutputTimes"
OutputTimes "[]"
LoadExternalInput off
ExternalInput "[]"
SaveTime off
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput off
OutputSaveName "yout"
LoadInitialState off
InitialState "[]"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Matrix"
LimitMaxRows off
MaxRows "1000"
Decimation "1"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
IntegerOverflowMsg "none"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
SignalLabelMismatchMsg "none"
ConsistencyChecking "off"
ZeroCross on
SimulationMode "normal"
BlockDataTips on
BlockParametersDataTip on
BlockAttributesDataTip off
BlockPortWidthsDataTip off
BlockDescriptionStringDataTip off
BlockMaskParametersDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
OptimizeBlockIOStorage on
BufferReuse on
BooleanDataType off
RTWSystemTargetFile "grt.tlc"
RTWOptions "-aEnforceIntegerDowncast=1 -aFoldNonRolledExpr=1 -a"
"InlineInvariantSignals=1 -aInlineParameters=0 -aLocalBlockOutputs=1 -aRollThr"
"eshold=5 -aZeroInternalMemoryAtStartup=1 -aZeroExternalMemoryAtStartup=1 -aIn"
"itFltsAndDblsToZero=1 -aGenerateReport=0 -aGenCodeOnly=0 -aRTWVerbose=1 -aInc"
"ludeHyperlinkInReport=0 -aLaunchReport=0 -aForceParamTrailComments=0 -aGenera"
"teComments=1 -aIgnoreCustomStorageClasses=1 -aIncHierarchyInIds=0 -aMaxRTWIdL"
"en=31 -aShowEliminatedStatements=0 -aPrefixModelToSubsysFcnNames=1 -aIncDataT"
"ypeInIds=0 -aInsertBlockDesc=0 -aSimulinkBlockComments=1 -aInlinedPrmAccess="
"\"Literals\" -aSuppressErrorStatus=0 -aModelReferenceCompliant=1 -aSupportNo"
"nInlinedSFcns=1 -aSupportContinuousTime=1 -aSupportComplex=1 -aSupportNonFini"
"te=1 -aSupportAbsoluteTime=1 -aTargetFcnLib=\"ansi_tfl_tmw.mat\" -aMultiInsta"
"nceERTCode=0 -aLogVarNameModifier=\"rt_\" -aIsPILTarget=0 -aCombineOutputUpda"
"teFcns=0 -aGenerateASAP2=0 -aGenerateSampleERTMain=0 -aGenerateFullHeader=1 -"
"aUtilityFuncGeneration=\"Auto\" -aIncludeFileDelimiter=\"Auto\" -aIncludeMdlT"
"erminateFcn=1 -aPurelyIntegerCode=0 -aERTCustomFileBanners=0 -aRTWCAPIStates="
"0 -aRTWCAPIParams=0 -aRTWCAPISignals=0 -aMatFileLogging=1 -aGenFloatMathFcnCa"
"lls=\"ANSI_C\" -aExtModeMexFile=\"ext_comm\" -aExtModeTransport=0 -aExtModeSt"
"aticAllocSize=1000000 -aExtModeTesting=0 -aExtModeStaticAlloc=0 -aExtMode=0 "
"-aInitFltsAndDblsToZero=1 -aInitFltsAndDblsToZero=1 "
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "oneshot"
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 off
Created "Wed Jul 22 05:30:07 1998"
Creator "The MathWorks Inc."
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "campa"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Sat Mar 17 11:12:15 2007"
ModelVersionFormat "1.%<AutoIncrement:35>"
ConfigurationManager "none"
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 "vdp2d"
Location [102, 122, 437, 490]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
ReportName "simulink-default.rpt"
Block {
BlockType Ground
Name "Ground"
Position [170, 185, 190, 205]
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1, 0, 0, 0]
Position [110, 24, 115, 296]
ShowName off
Inputs "[2 2 2]"
DisplayOption "bar"
}
Block {
BlockType Selector
Name "Selector"
Position [170, 115, 210, 135]
Elements "[1 3 5]"
InputPortWidth "6"
Port {
PortNumber 1
Name "p1p2p3"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Selector
Name "Selector1"
Position [170, 150, 210, 170]
Elements "[2 4 6]"
InputPortWidth "6"
Port {
PortNumber 1
Name "v1v2v3"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType SubSystem
Name "XYZ Graph"
Ports [3, 0, 0, 0, 0]
Position [265, 106, 305, 214]
CopyFcn "sfunxyz([],[],[],'CopyBlock')"
DeleteFcn "sfunxyz([],[],[],'DeleteBlock')"
LoadFcn "sfunxyz([],[],[],'LoadBlock')"
StartFcn "sfunxyz([],[],[],'Start')"
StopFcn "sfunxyz([],[],[],'Stop')"
NameChangeFcn "sfunxyz([],[],[],'NameChange')"
ShowPortLabels on
MaskType "XYZ multiscope"
MaskDescription " Multidimensional XYZ scope using MATLAB grap"
"h window. \n X,Y,Z coordinates are respectively the first,second, and thir"
"d input.\n Enter the number of lines, the XYZ ranges, the camera position, "
"\n and the sampling time, as mask parameters."
MaskHelp " This block can be used to explore limit cycl"
"es. \n Look at the m-file sfunxyz.m to see how it works."
MaskPromptString "Number of lines|[xmin xmax]|[ymin ymax]|[zmin z"
"max]|Camera position (use [0 0 1] for 2D XY view)|Grid|Sample time:"
MaskStyleString "edit,edit,edit,edit,edit,checkbox,edit"
MaskTunableValueString "on,on,on,on,on,on,on"
MaskCallbackString "||||||"
MaskEnableString "on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on"
MaskVariables "np=@1;xlim=@2;ylim=@3;zlim=@4;cp=@5;gd=@6;st=@7"
";"
MaskDisplay "plot([.05 .95 .95 .05 .05],[.45 .45 .95 .95 .45"
"], 0.5+cos(0:0.1:2*pi)*0.3,0.7+sin(0:0.1:2*pi)*0.2)"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "normalized"
MaskValueString "3|[-3 3]|[-3 3]|[0 1]|[0 0 1]|on|0.01"
System {
Name "XYZ Graph"
Location [94, 121, 400, 327]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "x"
Position [35, 37, 65, 53]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "y"
Position [35, 72, 65, 88]
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "z"
Position [35, 107, 65, 123]
Port "3"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1, 0, 0, 0]
Position [105, 33, 135, 137]
ShowName off
Inputs "[np np np]"
DisplayOption "none"
}
Block {
BlockType "S-Function"
Name "sfunxy"
Ports [1, 0, 0, 0, 0]
Position [175, 70, 225, 90]
ShowName off
FunctionName "sfunxyz"
Parameters "[xlim ylim zlim],st,np,cp,gd"
PortCounts "[]"
SFunctionModules "''"
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "sfunxy"
DstPort 1
}
Line {
SrcBlock "x"
SrcPort 1
Points [20, 0]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "y"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "z"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
}
}
Block {
BlockType SubSystem
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -