wANTED TO GENERATE C CODE OF SIMULINK

1 view (last 30 days)
Dhiraj
Dhiraj on 11 May 2023
Commented: Dhiraj on 29 Jun 2023
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)

Mark McBroom
Mark McBroom on 15 May 2023
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
Dhiraj
Dhiraj on 29 Jun 2023
Thanku i made some changes and now i could able to do it.

Sign in to comment.

Tags

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!