Using external Motor Driver C-Code in Simulink

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개)

태그

질문:

2020년 6월 9일

편집:

2020년 6월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by