cancel
Showing results for 
Search instead for 
Did you mean: 

CAN Setup with STM32-Mat/Target in Simulink ?

JVier
Associate

Hello,

I'm trying to use the STM32 MAT/TARGET to setup a Communication between Simulink and a STM32f107vct via CAN.

When I want to build the Simulink model i get an "INVALID INDEX" Block Diagram error.

I am using Matlab R2018b and the latest version of STM32CubeMx.

Do you have documentations concerning CAN setup with a virtual and a hardware channel in Simulink?

Thanks in advance for your answer.

Kind regards

Jens

1 REPLY 1
PBout
Associate

Hi,

Mathworks are aware about the bug: https://nl.mathworks.com/support/bugreports/1895608?s_tid=srchtitle

Or more detailed for STM32-MAT:

https://nl.mathworks.com/matlabcentral/answers/431624-customized-hardware-implementation-causes-a-simulink-error-invalid-index-with-2018b

The question is now who can implement this workaround in the toolchain?