Functionality Simulink Add-block

조회 수: 17 (최근 30일)
Tjitze
Tjitze 2025년 12월 8일
댓글: Tjitze 2025년 12월 10일

채택된 답변

Walter Roberson
Walter Roberson 2025년 12월 8일
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개)

카테고리

Help CenterFile Exchange에서 String에 대해 자세히 알아보기

태그

제품


릴리스

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by