A bug called"Invalid index" in simulink code building.
Show older comments
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
1 Comment
Hankun Jiang
on 15 Feb 2019
Answers (1)
Ömer Nezih ATALAY
on 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 Comment
Ömer Nezih ATALAY
on 27 Mar 2019
I solved the problem by updating the Products. You can do that simply click;
HOME->ADD-ONS->CHECK FOR UPDATES->PRODUCTS
Categories
Find more on STMicroelectronics Discovery Boards in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!