MATLAB Function ブロック内の変数
MATLAB Function ブロックのブロック変数を定義
関数コードで MATLAB Function ブロックの変数を定義します。関数の変数プロパティを調整して、Simulink® モデルの内部と外部にあるデータのソースにアクセスします。
ツール
| MATLAB Function ブロック エディター | MATLAB Function ブロックの MATLAB コードの作成、編集、デバッグ |
ブロック
| MATLAB Function | MATLAB コードを Simulink モデルに含める |
オブジェクト
MATLABFunctionConfiguration | MATLAB Function block property configuration |
Stateflow.EMChart | Stateflow interface to MATLAB Function block |
トピック
- Create MATLAB Function Block Variables
Use MATLAB Function block variables to modify data input to the block, or to output modified data to the model.
- Set Properties for MATLAB Function Block Variables
Use the Property Inspector or the Model Explorer to define properties of MATLAB Function block variable properties.
- パラメーター変数の定義による複数の MATLAB Function ブロックでのデータの使用
Simulink パラメーターと MATLAB® 変数を引数として MATLAB Function ブロックに渡します。
- MATLAB Function ブロックでのデータ ストアのデータへのアクセス
グローバル変数を使用して MATLAB Function ブロック内のデータ ストア データにアクセスする。