채택된 답변

Walter Roberson
Walter Roberson 2025년 12월 8일

0 개 추천

Use convert blocks on the logical values to convert them to one of the int datatypes or to single or double precision.

댓글 수: 2

Paul
Paul 2025년 12월 8일
Or change the Output Data Type parameter in the Logial Operator blocks to an expression of the desired type, e.g., 'double' (note single quotes).
Tjitze
Tjitze 2025년 12월 10일
Dear Walter,
Thank you for reply, it works!
Tjitze

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

제품

릴리스

R2015b

태그

질문:

2025년 12월 8일

댓글:

2025년 12월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by