Using external Motor Driver C-Code in Simulink

1 view (last 30 days)
tired
tired on 9 Jun 2020
Edited: tired on 9 Jun 2020
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

Answers (0)

Community Treasure Hunt

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

Start Hunting!