How can I find out the data type in the Simulink?

2 ビュー (過去 30 日間)
Ravi Sankar Tamma
Ravi Sankar Tamma 2023 年 10 月 25 日
回答済み: Fangjun Jiang 2023 年 10 月 26 日
I am dealing with Simulink and I am not able to change the data type in the MATLAB function. I want to know how can I change the data type of the variable and it should be replicate in the MATLAB function block.

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2023 年 10 月 26 日
Click "Edit data" in the MATLAB Function block editor, you can set the data type of any data (input, output, data, etc.). Make sure they are consistent with your code.

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by