Convert data type from int to double in Matlab app designer

370 vues (au cours des 30 derniers jours)
Abdulla Alsowaidi
Abdulla Alsowaidi le 28 Août 2018
How can I change the output data type from int. to double in Matlab designer application?

Réponse acceptée

Titus Edelhofer
Titus Edelhofer le 28 Août 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

Plus de réponses (0)

Catégories

En savoir plus sur Data Type Conversion dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by