Convert data type from int to double in Matlab app designer

440 ビュー (過去 30 日間)
Abdulla Alsowaidi
Abdulla Alsowaidi 2018 年 8 月 28 日
コメント済み: Abdulla Alsowaidi 2018 年 9 月 11 日
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 Center および File ExchangeData Type Conversion についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by