MATLAB: Convert data type from int to double in Matlab app designer

data typeFixed-Point Designerint to double

How can I change the output data type from int. to double in Matlab designer application?

Best Answer

Hi Abdulla,
generally speaking by using "double":
x = int32(42); % x is an integer
xd = double(x); % x is a double
But that is not related to app designer ...
Titus
Related Question