メインコンテンツ

物理単位

R2026b
物理モデリング環境で使用できる単位と単位変換関数

Simscape™ ソフトウェアには標準単位のライブラリがあり、必要に応じて追加の単位を定義できます。ブロック ダイアログで単位をパラメーター値と共に指定すると、Simscape の単位マネージャーは物理ネットワークを解決する際に必要な単位変換処理を実行します。Simscape ブロックでは標準の測定システムがサポートされています。既定のブロック単位はメートル-キログラム-秒、すなわち MKS (SI) です。

関数

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

トピック