'Dot indexing not supported' error shows up only when running executable
이전 댓글 표시
Hey,
I see this 'Dot indexing is not supported for variables of this type' error only when running an excutable created from a matlab script. I don't see such error when executing the matlab script itself.
I figured out this snippet here was causing the error. When I comment it out in the matlab script and create an executable, the executable runs fine.
Please, help with this error. Thanks. Also, I use MATLAB 2020b.
댓글 수: 6
Rik
2022년 3월 9일
Maybe it is the dynamic indexing that is causing problems? That should be relatively easy to determine.
Sujit Tripathy
2022년 3월 9일
Walter Roberson
2022년 3월 9일
Some level is [] when you expect it to be a struct
Sujit Tripathy
2022년 3월 9일
Walter Roberson
2022년 3월 9일
Are you trying to train a model inside a .exe ? Most training functions cannot be compiled (some can be compiled.)
Sujit Tripathy
2022년 3월 9일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

