📄 suspension_sys_simscape.mdl
字号:
GenerateTestInterfaces off
IsPILTarget off
ModelReferenceCompliant on
CompOptLevelCompliant on
IncludeMdlTerminateFcn on
CombineOutputUpdateFcns off
SuppressErrorStatus off
IncludeFileDelimiter "Auto"
ERTCustomFileBanners off
SupportAbsoluteTime on
LogVarNameModifier "rt_"
MatFileLogging on
MultiInstanceERTCode off
SupportNonFinite on
SupportComplex on
PurelyIntegerCode off
SupportContinuousTime on
SupportNonInlinedSFcns on
EnableShiftOperators on
ParenthesesLevel "Nominal"
PortableWordSizes off
ModelStepFunctionPrototypeControlCompliant off
ExtMode off
ExtModeStaticAlloc off
ExtModeTesting off
ExtModeStaticAllocSize 1000000
ExtModeTransport 0
ExtModeMexFile "ext_comm"
ExtModeIntrfLevel "Level1"
RTWCAPISignals off
RTWCAPIParams off
RTWCAPIStates off
GenerateASAP2 off
}
PropName "Components"
}
}
hdlcoderui.hdlcc {
$ObjectID 11
Description "HDL Coder custom configuration component"
Version "1.3.0"
Name "HDL Coder"
Array {
Type "Cell"
Dimension 1
Cell ""
PropName "HDLConfigFile"
}
HDLCActiveTab "0"
}
SSC.SimscapeCC {
$ObjectID 12
Name "Simscape"
EditingMode "Full"
Version "1.0"
}
PropName "Components"
}
Name "Configuration"
CurrentDlgPage "Solver"
}
PropName "ConfigurationSets"
}
Simulink.ConfigSet {
$PropName "ActiveConfigurationSet"
$ObjectID 1
}
PhysicalModelingChecksum "2081363237"
PhysicalModelingParameterChecksum "3142518341"
PhysicalModelingProducts "Simscape"
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Demux
Outputs "4"
DisplayOption "none"
BusSelectionMode off
}
Block {
BlockType From
IconDisplay "Tag"
}
Block {
BlockType Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ParamMin "[]"
ParamMax "[]"
ParameterDataTypeMode "Same as input"
ParameterDataType "fixdt(1,16,0)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "[]"
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Same as input"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Goto
IconDisplay "Tag"
}
Block {
BlockType Inport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
OutMin "[]"
OutMax "[]"
DataType "auto"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
SignalType "auto"
SamplingMode "auto"
LatchByDelayingOutsideSignal off
LatchByCopyingInsideSignal off
Interpolate on
}
Block {
BlockType Mux
Inputs "4"
DisplayOption "none"
UseBusObject off
BusObject "BusObject"
NonVirtualBus off
}
Block {
BlockType Outport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
OutMin "[]"
OutMax "[]"
DataType "auto"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType PMComponent
SubClassName "unknown"
}
Block {
BlockType Scope
ModelBased off
TickLabels "OneTimeTick"
ZoomMode "on"
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "-1"
}
Block {
BlockType "S-Function"
FunctionName "system"
SFunctionModules "''"
PortCounts "[]"
}
Block {
BlockType SubSystem
ShowPortLabels "FromPortIcon"
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
TreatAsAtomicUnit off
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Terminator
}
Block {
BlockType Reshape
OutputDimensionality "1-D array"
OutputDimensions "[1,1]"
}
Block {
BlockType PMIOPort
}
Block {
BlockType Constant
Value "1"
VectorParams1D on
SamplingMode "Sample based"
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "fixdt(1,16,0)"
ConRadixGroup "Use specified scaling"
OutScaling "[]"
SampleTime "inf"
FramePeriod "inf"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
UseDisplayTextAsClickCallback off
}
LineDefaults {
FontName "Arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "suspension_sys_ex3"
Location [147, 82, 1249, 854]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "98"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name " Ks"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [306, 505, 334, 545]
Orientation "down"
NamePlacement "alternate"
DialogController "NetworkEngine.DynNeDlgSource"
FontName "Verdana"
FontSize 11
SourceBlock "fl_lib/Mechanical/Translational\nElements/Translational Spring"
SourceType "Translational Spring"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
ClassName "spring_transl"
SchemaVersion "1"
spr_rate "28000"
spr_rate_unit "N/m"
init_def "0"
init_def_unit "m"
force_Log "off"
deformation_Log "off"
LocalVarNames "|force|deformation"
LocalVarDescs "|Spring force (N)|Spring deformation (m)"
LocalVarLogging "[0 0]"
}
Block {
BlockType Reference
Name " Kse"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [301, 285, 329, 325]
Orientation "down"
NamePlacement "alternate"
DialogController "NetworkEngine.DynNeDlgSource"
FontName "Verdana"
FontSize 11
SourceBlock "fl_lib/Mechanical/Translational\nElements/Translational Spring"
SourceType "Translational Spring"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
ClassName "spring_transl"
SchemaVersion "1"
spr_rate "8000"
spr_rate_unit "N/m"
init_def "0"
init_def_unit "m"
force_Log "off"
deformation_Log "off"
LocalVarNames "|force|deformation"
LocalVarDescs "|Spring force (N)|Spring deformation (m)"
LocalVarLogging "[0 0]"
}
Block {
BlockType Reference
Name " Kt"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [376, 675, 404, 715]
Orientation "down"
NamePlacement "alternate"
DialogController "NetworkEngine.DynNeDlgSource"
FontName "Verdana"
FontSize 11
SourceBlock "fl_lib/Mechanical/Translational\nElements/Translational Spring"
SourceType "Translational Spring"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
ClassName "spring_transl"
SchemaVersion "1"
spr_rate "125000"
spr_rate_unit "N/m"
init_def "0"
init_def_unit "m"
force_Log "off"
deformation_Log "off"
LocalVarNames "|force|deformation"
LocalVarDescs "|Spring force (N)|Spring deformation (m)"
LocalVarLogging "[0 0]"
}
Block {
BlockType Scope
Name "Displacement (yellow)\nVelocity (purple)"
Ports [1]
Position [945, 194, 975, 226]
Floating off
Location [53, 98, 801, 556]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 " "
}
TimeRange "10"
YMin "-6e-006"
YMax "1.2e-005"
SaveName "ScopeData6"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Displacement (yellow)\nVelocity (purple)1"
Ports [1]
Position [955, 434, 985, 466]
Floating off
Location [202, 166, 950, 624]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 " "
}
TimeRange "10"
YMin "-6e-006"
YMax "1.4e-005"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Displacement (yellow)\nVelocity (purple)2"
Ports [1]
Position [955, 619, 985, 651]
Floating off
Location [663, 99, 1411, 557]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 " "
}
TimeRange "10"
YMin "-9.999999999999999e-006"
YMax "6e-005"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Reference
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -