qtest2.mdl
来自「四元数工具箱」· MDL 代码 · 共 310 行
MDL
310 行
Model { Name "qtest2" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths on ShowPortDataTypes off StartTime "0.0" StopTime "stop_time" SolverMode "Auto" Solver "ode5" RelTol "1e-3" AbsTol "auto" Refine "1" MaxStep "auto" InitialStep "auto" FixedStep "step_size" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput off OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "Matrix" LimitMaxRows off MaxRows "1000" Decimation "decimation" 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 "Thu Oct 26 16:53:47 2000" Creator "stpierre" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%<Auto>" LastModifiedBy "stpierre" ModifiedDateFormat "%<Auto>" LastModifiedDate "Thu Mar 15 22:39:48 2001" ModelVersionFormat "1.%<AutoIncrement:10>" 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 "qtest2" Location [664, 53, 999, 266] 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 [15, 14, 75, 46] Value "[1 0 0]" Port { PortNumber 1 Name "w" TestPoint off RTWStorageClass "Auto" } } Block { BlockType Constant Name "Constant 2" Position [15, 79, 75, 111] Value "[0 1 0]" Port { PortNumber 1 Name "w" TestPoint off RTWStorageClass "Auto" } } Block { BlockType Constant Name "Constant 3" Position [15, 144, 75, 176] Value "[0 0 1]" Port { PortNumber 1 Name "w" TestPoint off RTWStorageClass "Auto" } } Block { BlockType Reference Name "Quaternion\nPropagation 1" Ports [1, 1, 0, 0, 0] Position [125, 14, 170, 46] FontName "helvetica" SourceBlock "qlib/Quaternion\nPropagation" SourceType "Quaternion Integration" q0 "[0 0 0 1]" Port { PortNumber 1 Name "q" TestPoint off RTWStorageClass "Auto" } } Block { BlockType Reference Name "Quaternion\nPropagation 2" Ports [1, 1, 0, 0, 0] Position [125, 79, 170, 111] FontName "helvetica" SourceBlock "qlib/Quaternion\nPropagation" SourceType "Quaternion Integration" q0 "[0 0 0 1]" Port { PortNumber 1 Name "q" TestPoint off RTWStorageClass "Auto" } } Block { BlockType Reference Name "Quaternion\nPropagation 3" Ports [1, 1, 0, 0, 0] Position [125, 144, 170, 176] FontName "helvetica" SourceBlock "qlib/Quaternion\nPropagation" SourceType "Quaternion Integration" q0 "[0 0 0 1]" Port { PortNumber 1 Name "q" TestPoint off RTWStorageClass "Auto" } } Block { BlockType ToWorkspace Name "To Workspace" Position [230, 21, 315, 39] BackgroundColor "yellow" ShowName off VariableName "xrot" Buffer "10000" Decimation "decimation" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace1" Position [230, 86, 315, 104] BackgroundColor "yellow" ShowName off VariableName "yrot" Buffer "10000" Decimation "decimation" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace2" Position [230, 151, 315, 169] BackgroundColor "yellow" ShowName off VariableName "zrot" Buffer "10000" Decimation "decimation" SampleTime "-1" SaveFormat "Matrix" } Line { Name "w" Labels [1, 0] SrcBlock "Constant 1" SrcPort 1 DstBlock "Quaternion\nPropagation 1" DstPort 1 } Line { Name "q" Labels [0, 0] SrcBlock "Quaternion\nPropagation 1" SrcPort 1 DstBlock "To Workspace" DstPort 1 } Line { Name "w" Labels [1, 0] SrcBlock "Constant 2" SrcPort 1 DstBlock "Quaternion\nPropagation 2" DstPort 1 } Line { Name "q" Labels [0, 0] SrcBlock "Quaternion\nPropagation 2" SrcPort 1 DstBlock "To Workspace1" DstPort 1 } Line { Name "w" Labels [1, 0] SrcBlock "Constant 3" SrcPort 1 DstBlock "Quaternion\nPropagation 3" DstPort 1 } Line { Name "q" Labels [0, 0] SrcBlock "Quaternion\nPropagation 3" SrcPort 1 DstBlock "To Workspace2" DstPort 1 } }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?