Convert data type from int to double in Matlab app designer
371 次查看(过去 30 天)
显示 更早的评论
How can I change the output data type from int. to double in Matlab designer application?
0 个评论
采纳的回答
Titus Edelhofer
2018-8-28
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
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!