Convert data type from int to double in Matlab app designer

조회 수: 447 (최근 30일)
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 CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by