Convert data type from int to double in Matlab app designer
350 views (last 30 days)
Show older comments
Abdulla Alsowaidi
on 28 Aug 2018
Commented: Abdulla Alsowaidi
on 11 Sep 2018
How can I change the output data type from int. to double in Matlab designer application?
0 Comments
Accepted Answer
Titus Edelhofer
on 28 Aug 2018
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
More Answers (0)
See Also
Categories
Find more on Data Type Conversion 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!