wANTED TO GENERATE C CODE OF SIMULINK

Why i get the below error when i try to generate the C code of it?
below i attached the image of error

Answers (1)

This looks like a code generation error for the GPIO block. I recommend sending Simulink model and error message to support@mathworks.com
One possible workaround is to add a data type conversion upstream of the GPIO blocks. The error message indicates that there is a problem with data type mismatch.

1 Comment

Thanku i made some changes and now i could able to do it.

Sign in to comment.

Products

Release

R2023a

Tags

Asked:

on 11 May 2023

Commented:

on 29 Jun 2023

Community Treasure Hunt

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

Start Hunting!