📄 pe.mdl
字号:
InlinedPrmAccess "Literals"
ReqsInCode off
UseSimReservedNames off
}
Simulink.GRTTargetCC {
$BackupClass "Simulink.TargetCC"
$ObjectID 11
Version "1.6.0"
Array {
Type "Cell"
Dimension 15
Cell "IncludeMdlTerminateFcn"
Cell "CombineOutputUpdateFcns"
Cell "SuppressErrorStatus"
Cell "ERTCustomFileBanners"
Cell "GenerateSampleERTMain"
Cell "GenerateTestInterfaces"
Cell "ModelStepFunctionPrototypeControlCompliant"
Cell "MultiInstanceERTCode"
Cell "PurelyIntegerCode"
Cell "SupportNonFinite"
Cell "SupportComplex"
Cell "SupportAbsoluteTime"
Cell "SupportContinuousTime"
Cell "SupportNonInlinedSFcns"
Cell "PortableWordSizes"
PropName "DisabledProps"
}
TargetFcnLib "ansi_tfl_table_tmw.mat"
TargetLibSuffix ""
TargetPreCompLibLocation ""
TargetFunctionLibrary "ANSI_C"
UtilityFuncGeneration "Auto"
ERTMultiwordTypeDef "System defined"
ERTMultiwordLength 256
MultiwordLength 2048
GenerateFullHeader on
GenerateSampleERTMain off
GenerateTestInterfaces off
IsPILTarget off
ModelReferenceCompliant on
ParMdlRefBuildCompliant on
CompOptLevelCompliant on
IncludeMdlTerminateFcn on
CombineOutputUpdateFcns off
SuppressErrorStatus off
ERTFirstTimeCompliant 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
CPPClassGenCompliant off
AutosarCompliant off
UseMalloc 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 12
Version "1.6.0"
Description "HDL Coder custom configuration component"
Name "HDL Coder"
Array {
Type "Cell"
Dimension 1
Cell ""
PropName "HDLConfigFile"
}
HDLCActiveTab "0"
}
SSC.SimscapeCC {
$ObjectID 13
Version "1.0"
Array {
Type "Cell"
Dimension 1
Cell "Name"
PropName "DisabledProps"
}
Name "Simscape"
EditingMode "Full"
ExplicitSolverDiagnosticOptions "warning"
InputDerivativeDiagnosticOptions "warning"
}
PropName "Components"
}
Name "Configuration"
CurrentDlgPage "Data Import//Export"
ConfigPrmDlgPosition " [ 72, 69, 952, 699 ] "
}
PropName "ConfigurationSets"
}
Simulink.ConfigSet {
$PropName "ActiveConfigurationSet"
$ObjectID 1
}
BlockDefaults {
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
BlockRotation 0
BlockMirror off
}
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"
}
BlockParameterDefaults {
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 "[]"
OutDataTypeStr "Inherit: auto"
LockScale off
SignalType "auto"
SamplingMode "auto"
LatchByDelayingOutsideSignal off
LatchByCopyingInsideSignal off
Interpolate on
DimensionsMode "auto"
}
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 "[]"
OutDataTypeStr "Inherit: auto"
LockScale off
SignalType "auto"
SamplingMode "auto"
SourceOfInitialOutputValue "Dialog"
OutputWhenDisabled "held"
InitialOutput "[]"
DimensionsMode "auto"
}
Block {
BlockType SubSystem
ShowPortLabels "FromPortIcon"
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
TreatAsAtomicUnit off
CheckFcnCallInpInsideContextMsg 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"
}
}
System {
Name "PE"
Location [202, 222, 940, 658]
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 "161"
ReportName "simulink-default.rpt"
Block {
BlockType Inport
Name "Voltage"
Position [70, 133, 100, 147]
IconDisplay "Port number"
OutDataType "fixdt(1, 16)"
OutScaling "2^0"
}
Block {
BlockType SubSystem
Name "DC Motor"
Ports [1, 2]
Position [195, 80, 295, 195]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
MaskPromptString "Inertia (kg-m^2)|Resistance (Ohms)|Inductance (Henries)|Torque/Back EMF (Nm/A)"
MaskStyleString "edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVarAliasString ",,,"
MaskVariables "I=@1;R=@2;L=@3;K=@4;"
MaskDisplay "image(imread('hs422.jpg'))"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskPortRotate "default"
MaskIconUnits "autoscale"
MaskValueString "I|R|L|K"
MaskTabNameString ",,,"
System {
Name "DC Motor"
Location [158, 136, 888, 524]
Open off
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 "100"
Block {
BlockType Inport
Name "Voltage"
Position [25, 193, 55, 207]
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "Controlled Voltage\nSource"
Ports [0, 0, 0, 0, 0, 1, 2]
Position [155, 135, 195, 175]
BlockRotation 270
BlockMirror on
DialogController "NetworkEngine.DynNeDlgSource"
FontName "Verdana"
FontSize 11
SourceBlock "fl_lib/Electrical/Electrical Sources/Controlled Voltage\nSource"
SourceType "Controlled Voltage\nSource"
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 "controlled_voltage_source"
SchemaVersion "1"
i_Log "off"
v_Log "off"
LocalVarNames "|current|voltage|power"
LocalVarDescs "|Current (A)|Voltage (V)|Power (W)"
LocalVarLogging "[0 0 0]"
}
Block {
BlockType Reference
Name "Current Sensor"
Ports [0, 0, 0, 0, 0, 1, 2]
Position [360, 240, 400, 280]
BlockMirror on
ShowName off
DialogController "NetworkEngine.DynNeDlgSource"
FontName "Verdana"
FontSize 11
SourceBlock "fl_lib/Electrical/Electrical Sensors/Current Sensor"
SourceType "Current Sensor"
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 "sensor_current"
SchemaVersion "1"
i1_Log "off"
v1_Log "off"
LocalVarNames "|i1|v1"
LocalVarDescs "|i1|v1"
LocalVarLogging "[]"
}
Block {
BlockType Reference
Name "Electrical Reference"
Ports [0, 0, 0, 0, 0, 1]
Position [90, 265, 130, 305]
BlockRotation 270
BlockMirror on
ShowName off
DialogController "NetworkEngine.DynNeDlgSource"
FontName "Verdana"
FontSize 11
SourceBlock "fl_lib/Electrical/Electrical Elements/Electrical Reference"
SourceType "Electrical Reference"
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 "reference_electrical"
SchemaVersion "1"
i_Log "off"
LocalVarNames "|i"
LocalVarDescs "|i"
LocalVarLogging "[]"
}
Block {
BlockType Reference
Name "Ideal Rotational\nMotion Sensor"
Ports [0, 0, 0, 0, 0, 1, 3]
Position [525, 95, 565, 135]
ShowName off
DialogController "NetworkEngine.DynNeDlgSource"
FontName "Verdana"
FontSize 11
SourceBlock "fl_lib/Mechanical/Mechanical Sensors/Ideal Rotational\nMotion Sensor"
SourceType "Ideal Rotational\nMotion Sensor"
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 "sensor_rot_motion"
SchemaVersion "1"
offset "0"
offset_unit "rad"
w_Log "off"
t_Log "off"
phi_Log "off"
LocalVarNames "|w|t|phi"
LocalVarDescs "|w|t|phi"
LocalVarLogging "[]"
}
Block {
BlockType Reference
Name "Inductor"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [330, 73, 370, 137]
ShowName off
DialogController "NetworkEngine.DynNeDlgSource"
FontName "Verdana"
FontSize 11
SourceBlock "fl_lib/Electrical/Electrical Elements/Inductor"
SourceType "Inductor"
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 "inductor"
SchemaVersion "1"
l "L"
l_unit "H"
i0 "0"
i0_unit "A"
r "0"
r_unit "Ohm"
g "1e-09"
g_unit "1/Ohm"
i_Log "off"
v_Log "off"
i_L_Log "off"
LocalVarNames "|current|voltage|power"
LocalVarDescs "|Inductor current (A) |Voltage across inductor (V)|Power (W)"
LocalVarLogging "[0 0 0]"
}
Block {
BlockType Reference
Name "Inertia"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -