'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!

