Using external Motor Driver C-Code in Simulink

1 次查看(过去 30 天)
Hi,
so i'm trying to utilize external c-code for the motor driver powerstep01.
I've tried to include the necessary .h and .c files to use the c-code via the ccaller-block, but i'm still not able to build the code.
I'm using Matlab R2018b, STM32 Mat-Target, CubeMX and SW4STM32.
The stepper motor driver software expansion for STM32Cube i'm using is X-CUBE-SPN3.
It would be nice to get some general information about which steps i should be following to generate the code.
Thanks for your Help
Best regards Tom

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by