Clear Filters
Clear Filters

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

1 view (last 30 days)
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.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 26 Oct 2023
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.

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!