[ { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:576", "className":"Simulink.Annotation", "icon":"WebViewIcon2", "name":"

Modulo implementation: rem = num - div*(num/div)

Note: Division and multiplier has the setting 'Floor'

", "label":"

Modulo implementation: rem = num - div*(num/div)

Note: Division and multiplier has the setting 'Floor'

", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "Text", "DropShadow", "Interpreter", "FontName", "FontWeight", "FontSize", "FontAngle", "ForegroundColor", "BackgroundColor", "HorizontalAlignment", "UseDisplayTextAsClickCallback", "ClickFcn" ], "values":[ "\n\n

Modulo implementation: rem = num - div*(num/div)

\n

Note: Division and multiplier has the setting 'Floor'

", "off", "rich", "auto", "auto", -1, "auto", "black", "white", "left", "off", "" ], "tabs":[ ], "tabs_idx":[ ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":[ ] }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:572", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide2", "label":"Divide2", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "Inputs", "Multiplication", "InputSameDT", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", "RndMeth", "SaturateOnIntegerOverflow", "CollapseDim", "CollapseMode", "SampleTime" ], "values":[ "*/", "Element-wise(.*)", "off", "[]", "[]", "fixdt(1,16,0)", "off", "Floor", "off", "1", "All dimensions", "-1" ], "tabs":[ "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, 2, 9 ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ "blocktype":"Product", "masktype":"" } }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:574", "className":"Simulink.Sum", "icon":"WebViewIcon3", "name":"Sum3", "label":"Sum3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "IconShape", "Inputs", "InputSameDT", "AccumDataTypeStr", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", "RndMeth", "SaturateOnIntegerOverflow", "CollapseDim", "CollapseMode", "SampleTime" ], "values":[ "round", "|+-", "off", "Inherit: Same as first input", "[]", "[]", "Inherit: Same as first input", "off", "Simplest", "off", "1", "All dimensions", "-1" ], "tabs":[ "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, 2, 10 ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ "blocktype":"Sum", "masktype":"" } }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:573", "className":"Simulink.Product", "icon":"WebViewIcon3", "name":"Divide3", "label":"Divide3", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "Inputs", "Multiplication", "InputSameDT", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", "RndMeth", "SaturateOnIntegerOverflow", "CollapseDim", "CollapseMode", "SampleTime" ], "values":[ "**", "Element-wise(.*)", "off", "[]", "[]", "Inherit: Same as first input", "off", "Floor", "off", "1", "All dimensions", "-1" ], "tabs":[ "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, 2, 9 ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ "blocktype":"Product", "masktype":"" } }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:570", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"num", "label":"num", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "Port", "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", "Unit", "PortDimensions", "VarSizeSig", "SampleTime", "SignalType", "BusOutputAsStruct", "InputConnect", "Interpolate", "LatchByDelayingOutsideSignal", "LatchInputForFeedbackSignals", "OutputFunctionCall" ], "values":[ "1", "Port number", "[]", "[]", "Inherit: auto", "off", "inherit", "-1", "Inherit", "-1", "auto", "off", "", "on", "off", "off", "off" ], "tabs":[ "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, 2, 11 ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ "blocktype":"Inport", "masktype":"" } }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:571", "className":"Simulink.Inport", "icon":"WebViewIcon3", "name":"div", "label":"div", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "Port", "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", "Unit", "PortDimensions", "VarSizeSig", "SampleTime", "SignalType", "BusOutputAsStruct", "InputConnect", "Interpolate", "LatchByDelayingOutsideSignal", "LatchInputForFeedbackSignals", "OutputFunctionCall" ], "values":[ "2", "Port number", "[]", "[]", "Inherit: auto", "off", "inherit", "-1", "Inherit", "-1", "auto", "off", "", "on", "off", "off", "off" ], "tabs":[ "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, 2, 11 ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ "blocktype":"Inport", "masktype":"" } }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:575", "className":"Simulink.Outport", "icon":"WebViewIcon3", "name":"rem", "label":"rem", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "Port", "IconDisplay", "OutMin", "OutMax", "OutDataTypeStr", "LockScale", "Unit", "PortDimensions", "VarSizeSig", "SampleTime", "SignalType", "BusOutputAsStruct", "EnsureOutportIsVirtual", "InitialOutput", "MustResolveToSignalObject", "OutputWhenDisabled", "OutputWhenUnConnected", "OutputWhenUnconnectedValue", "SignalName", "SignalObject", "SourceOfInitialOutputValue", "StorageClass", "VectorParamsAs1DForOutWhenUnconnected" ], "values":[ "1", "Port number", "[]", "[]", "Inherit: auto", "off", "inherit", "-1", "Inherit", "-1", "auto", "off", "off", "[]", "off", "held", "off", "0", "", [ ], "Dialog", "Auto", "off" ], "tabs":[ "Main", "Signal Attributes", "-Other" ], "tabs_idx":[ 0, 2, 11 ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":{ "blocktype":"Outport", "masktype":"" } }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:572#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "SignalNameFromLabel", "MustResolveToSignal", "ShowPropagatedSignal", "DataLogging", "TestPoint", "SignalObjectPackage", "StorageClass", "Description", "documentLink" ], "values":[ "", "off", "off", "off", "off", "Simulink", "Auto", "", "" ], "tabs":[ "Parameter Attributes", "Logging and Accessibility", "Code Generation", "Documentation" ], "tabs_idx":[ 0, 3, 5, 7 ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":[ ] }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:571#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "SignalNameFromLabel", "MustResolveToSignal", "ShowPropagatedSignal", "DataLogging", "TestPoint", "SignalObjectPackage", "StorageClass", "Description", "documentLink" ], "values":[ "", "off", "off", "off", "off", "Simulink", "Auto", "", "" ], "tabs":[ "Parameter Attributes", "Logging and Accessibility", "Code Generation", "Documentation" ], "tabs_idx":[ 0, 3, 5, 7 ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":[ ] }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:573#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "SignalNameFromLabel", "MustResolveToSignal", "ShowPropagatedSignal", "DataLogging", "TestPoint", "SignalObjectPackage", "StorageClass", "Description", "documentLink" ], "values":[ "", "off", "off", "off", "off", "Simulink", "Auto", "", "" ], "tabs":[ "Parameter Attributes", "Logging and Accessibility", "Code Generation", "Documentation" ], "tabs_idx":[ 0, 3, 5, 7 ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":[ ] }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:574#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "SignalNameFromLabel", "MustResolveToSignal", "ShowPropagatedSignal", "DataLogging", "TestPoint", "SignalObjectPackage", "StorageClass", "Description", "documentLink" ], "values":[ "", "off", "off", "off", "off", "Simulink", "Auto", "", "" ], "tabs":[ "Parameter Attributes", "Logging and Accessibility", "Code Generation", "Documentation" ], "tabs_idx":[ 0, 3, 5, 7 ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":[ ] }, { "sid":"BLDCmotorControl_FOC_R2017b_fixdt:10035:570#out:1", "className":"Simulink.Line", "icon":"WebViewIcon5", "name":"", "label":"", "parent":"BLDCmotorControl_FOC_R2017b_fixdt:10035", "inspector":{ "params":[ "SignalNameFromLabel", "MustResolveToSignal", "ShowPropagatedSignal", "DataLogging", "TestPoint", "SignalObjectPackage", "StorageClass", "Description", "documentLink" ], "values":[ "", "off", "off", "off", "off", "Simulink", "Auto", "", "" ], "tabs":[ "Parameter Attributes", "Logging and Accessibility", "Code Generation", "Documentation" ], "tabs_idx":[ 0, 3, 5, 7 ] }, "viewer":{ "jshandler":"webview/handlers/ElementHandler" }, "obj_viewer":[ ], "finder":[ ] } ]