Skip to main content
tired
Associate
June 10, 2020
Question

Integrate Motor driver c-code to simulink

  • June 10, 2020
  • 12 replies
  • 6166 views

hi,

i'm currently working on a project where i want to control a stepper motor via the STM32F446RE board and X-NUCLEO-IHM-03A1 expansion board.

To benefit from the X-CUBE-SPN3 software package, i would like to integrate the external c-code to matlab/simulink and use it in my model with the ccaller-block.

At this moment i am able to include the necessary .c and .h files, but cannot build the code.

I uploaded the occuring error.

Thanks for your help.

Best Regards

Tom

This topic has been closed for replies.

12 replies

Laurent Ca...
Senior III
October 20, 2020

Dear @tired​ 

any news?

Best regards

Laurent Ca...

Laurent Ca...
Senior III
November 2, 2020

Dear @tired​ 

As you do not answer, I guess you don't have to solve this problem anymore, therefore I consider this thread closed.

If not, feel free to reopen it by posting a new answer.

Best regards

Laurent Ca...