Convert data type from int to double in Matlab app designer

370 Ansichten (letzte 30 Tage)
How can I change the output data type from int. to double in Matlab designer application?

Akzeptierte Antwort

Titus Edelhofer
Titus Edelhofer am 28 Aug. 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

Weitere Antworten (0)

Kategorien

Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by