Borrar filtros
Borrar filtros

Embedded coder: Code generation data types for short int.

2 visualizaciones (últimos 30 días)
Venkatesan
Venkatesan el 17 de Oct. de 2023
Comentada: Venkatesan el 23 de Oct. de 2023
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.

Respuestas (1)

Henry
Henry el 20 de Oct. de 2023
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 comentario
Venkatesan
Venkatesan el 23 de Oct. de 2023
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"?

Iniciar sesión para comentar.

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by