'Dot indexing not supported' error shows up only when running executable
Show older comments
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 Comments
Rik
on 9 Mar 2022
Maybe it is the dynamic indexing that is causing problems? That should be relatively easy to determine.
Sujit Tripathy
on 9 Mar 2022
Walter Roberson
on 9 Mar 2022
Some level is [] when you expect it to be a struct
Sujit Tripathy
on 9 Mar 2022
Walter Roberson
on 9 Mar 2022
Are you trying to train a model inside a .exe ? Most training functions cannot be compiled (some can be compiled.)
Sujit Tripathy
on 9 Mar 2022
Accepted Answer
More Answers (0)
Categories
Find more on Linear Predictive Coding in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
