Convert data type from int to double in Matlab app designer

455 visualizaciones (últimos 30 días)
How can I change the output data type from int. to double in Matlab designer application?

Respuesta aceptada

Titus Edelhofer
Titus Edelhofer el 28 de Ag. de 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

Más respuestas (0)

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by