主要内容

物理单位

R2026b
物理建模环境中提供的单位和单位转换函数

Simscape™ 软件附带一个标准单位库,您可以根据需要定义其他单位。您可以在模块对话框中指定单位和参数值,Simscape 单位管理器会在求解物理网络时执行必要的单位转换运算。Simscape 模块支持标准测量系统。默认模块单位为米千克秒 (MKS) 公制单位。

函数

pm_adddimensionAdds new dimension to unit registry
pm_addunitAdd new unit to unit registry
pm_getdimensions获取有关单位注册表中所有维度的信息
pm_getunits获取有关单位注册表中所有单位的信息
simscape.computationalUnitDetermine computational unit for commensurate units
simscape.isCommensurateUnitCheck whether units are commensurate
simscape.mustBeCommensurateUnitValidate that units are commensurate

对象

simscape.ValueCreate value with unit
simscape.UnitRepresent unit of measure without an associated value

主题