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

12 ビュー (過去 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 件のコメント
Hankun Jiang
Hankun Jiang 2019 年 2 月 15 日
I forget to submit the snippetSnipaste_2019-02-15_10-57-09.png

サインインしてコメントする。

回答 (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