📄 qnorm_test2.mdl
字号:
Model { Name "qnorm_test2" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "stop_time" SolverMode "Auto" Solver "FixedStepDiscrete" RelTol "1e-3" AbsTol "auto" Refine "1" MaxStep "auto" InitialStep "auto" FixedStep "1.0" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime off TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput off OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "Matrix" LimitMaxRows on MaxRows "1" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" IntegerOverflowMsg "warning" 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" 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 "Fri Oct 20 07:24:43 2000" Creator "stpierre" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%<Auto>" LastModifiedBy "stpierre" ModifiedDateFormat "%<Auto>" LastModifiedDate "Sun Nov 5 01:02:29 2000" ModelVersionFormat "1.%<AutoIncrement:5>" 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 "qnorm_test2" Location [7, 237, 309, 362] 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 Constant Name "Constant 1" Position [20, 39, 80, 61] ShowName off Value "[ 1 2 3 4 ]" } Block { BlockType ToWorkspace Name "To Workspace" Position [190, 41, 250, 59] VariableName "simout" Buffer "1" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType SubSystem Name "quaternion\nnormalize" Ports [1, 1, 0, 0, 0] Position [115, 34, 155, 66] ShowPortLabels on System { Name "quaternion\nnormalize" Location [323, 237, 680, 362] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "q" Position [15, 48, 45, 62] BackgroundColor "cyan" Port "1" PortWidth "4" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Math Name "Inverse" Ports [1, 1, 0, 0, 0] Position [215, 36, 240, 74] Operator "reciprocal" OutputSignalType "auto" } Block { BlockType Product Name "Product" Ports [2, 1, 0, 0, 0] Position [265, 19, 280, 66] Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType Math Name "Square" Ports [1, 1, 0, 0, 0] Position [80, 42, 105, 68] Operator "square" OutputSignalType "auto" } Block { BlockType Math Name "Square\nRoot" Ports [1, 1, 0, 0, 0] Position [165, 40, 195, 70] Operator "sqrt" OutputSignalType "auto" } Block { BlockType Sum Name "Sum" Ports [1, 1, 0, 0, 0] Position [125, 45, 145, 65] IconShape "round" Inputs "1" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "qnorm" Position [310, 38, 340, 52] BackgroundColor "yellow" Port "1" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "Product" SrcPort 1 DstBlock "qnorm" DstPort 1 } Line { SrcBlock "q" SrcPort 1 Points [10, 0; 0, 0] Branch { Points [0, -25] DstBlock "Product" DstPort 1 } Branch { DstBlock "Square" DstPort 1 } } Line { SrcBlock "Square" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Square\nRoot" DstPort 1 } Line { SrcBlock "Square\nRoot" SrcPort 1 DstBlock "Inverse" DstPort 1 } Line { SrcBlock "Inverse" SrcPort 1 DstBlock "Product" DstPort 2 } } } Line { SrcBlock "Constant 1" SrcPort 1 DstBlock "quaternion\nnormalize" DstPort 1 } Line { SrcBlock "quaternion\nnormalize" SrcPort 1 DstBlock "To Workspace" DstPort 1 } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -