Convert data type from int to double in Matlab app designer

619 次查看(过去 30 天)
How can I change the output data type from int. to double in Matlab designer application?

采纳的回答

Titus Edelhofer
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 CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by