Skip to main content
SMisr
Associate
December 20, 2018
Question

Code generation using Matlab 2018b does not wok. How to Fix it? the error is Invalid index.

  • December 20, 2018
  • 2 replies
  • 827 views

I am trying to generate code for an STM32 discovery board (STM32F4) for academic purposes.

I am using matlab 2018b and embedded coder together with the STM32 Mat/Target support package and STM32CubeMx.

I have built a simple example to ON and OFF the LED's with some delay(see attachment).

When I trying to generate code I have gotten the following error: Invalid index.

Please help me solve this issue!

with Kind Regards

Semachew Fasika

    This topic has been closed for replies.

    2 replies

    jessica
    Associate II
    February 27, 2019

    Hi! Were you able to find an answer to your question?

    SMisr
    SMisrAuthor
    Associate
    February 27, 2019

    I switched to Matlab 2018a