MATLAB Answers

1

Convert data type from int to double in Matlab app designer

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

  0 Comments

Sign in to comment.

Products


Release

R2018a

1 Answer

Answer by Titus Edelhofer on 28 Aug 2018
 Accepted 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