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

2 Ansichten (letzte 30 Tage)
Hankun Jiang
Hankun Jiang am 15 Feb. 2019
Kommentiert: Ömer Nezih ATALAY am 27 Mär. 2019
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

Antworten (1)

Ömer Nezih ATALAY
Ömer Nezih ATALAY am 16 Feb. 2019
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 Kommentar
Ömer Nezih ATALAY
Ömer Nezih ATALAY am 27 Mär. 2019
I solved the problem by updating the Products. You can do that simply click;
HOME->ADD-ONS->CHECK FOR UPDATES->PRODUCTS

Melden Sie sich an, um zu kommentieren.

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by