필터 지우기
필터 지우기

Embedded coder: Code generation data types for short int.

조회 수: 1 (최근 30일)
Venkatesan
Venkatesan 2023년 10월 17일
댓글: Venkatesan 2023년 10월 23일
Is there a way to generate "typedef short int" and typedef "unsigned short int"? I want this for my harware but what I get is only "typedef int" and "typedef unsigned int" irrespective of various hardware I selected including custom hardware.

답변 (1개)

Henry
Henry 2023년 10월 20일
Hi,
you can give the solution posted in this page a try:
The "Specify Custom Names Using Data Replacement Type Pane" section might help you generate custom type names.
  댓글 수: 1
Venkatesan
Venkatesan 2023년 10월 23일
Hi Henry,
Thanks for your response, infact I am looking for a base type "unsigned short int", which I dont get in the "rtwtypes.h", if I get this then I can custom name it as "uint16_t" or similar. Is there a way to generate the base type "unsigned short int"?

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

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by