overflow 만드는 방법
Afficher commentaires plus anciens
아래와 같이 S16_MAXDUTY를 int16 최대값으로 입력 한 후
a에 overflow된 값을 넣고 싶습니다.
지금은 int 최대 값으로 limit이 걸려 있는 거 같은데 풀수 있는 방법이 있을까요?
simulink에서도 동일하게 overflow 발생 시킬수 있는 방법 질문 드립니다.
>> S16_MAXDUTY
S16_MAXDUTY =
int16
32767
>> a= S16_MAXDUTY+100
a =
int16
32767
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
