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

조회 수: 2 (최근 30일)
Hankun Jiang
Hankun Jiang 2019년 2월 15일
댓글: Ömer Nezih ATALAY 2019년 3월 27일
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개)

Ömer Nezih ATALAY
Ömer Nezih ATALAY 2019년 2월 16일
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
Ömer Nezih ATALAY
Ömer Nezih ATALAY 2019년 3월 27일
I solved the problem by updating the Products. You can do that simply click;
HOME->ADD-ONS->CHECK FOR UPDATES->PRODUCTS

댓글을 달려면 로그인하십시오.

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by