A bug called"Invalid index" in simulink code building.

I use the matlab 2018b. Today, I used it for stm32 code building. I can run this model in simulink, but when I build C code, there is something wrong in it called"Invalid index''. Maybe the page https://ww2.mathworks.cn/matlabcentral/answers/431624-customized-hardware-implementation-causes-a-simulink-error-invalid-index-with-2018b can solve my answer. but I don't know how to modify the customized script.
All my files are as follows.
Thank you

Respuestas (1)

I am using Waijung Blockset and i also dont know how to modify customized script. I am also looking for an answer.
In that link, accepted answer says that there is nothing has to be blanked:
thisDev.Alias = {};
like this.
But like i said, i dont know how to reach there in my Waijung Blockset's Device Configurations.
Any guide would be appriciated.
Thank you.

1 comentario

I solved the problem by updating the Products. You can do that simply click;
HOME->ADD-ONS->CHECK FOR UPDATES->PRODUCTS

Iniciar sesión para comentar.

Productos

Versión

R2018b

Preguntada:

el 15 de Feb. de 2019

Comentada:

el 27 de Mzo. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by