Convert data type from int to double in Matlab app designer

442 visualizzazioni (ultimi 30 giorni)
How can I change the output data type from int. to double in Matlab designer application?

Risposta accettata

Titus Edelhofer
Titus Edelhofer il 28 Ago 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

Più risposte (0)

Categorie

Scopri di più su Data Type Conversion in Help Center e File Exchange

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by