Compiled Function trying to access non-existent @tabular\hasvars.m method (matlab 2020a)
4 views (last 30 days)
Show older comments
Piers Lillystone
on 16 Feb 2021
Commented: Piers Lillystone
on 1 Mar 2021
Hello,
We are having an issue with a strange console output when we run compiled matlab functions after upgrading to 2020a.
The warning/error reads:
Failed to open file 'D:\Program Files\MATLAB\R2020a\mcr\toolbox\matlab\datatypes\tabular\@tabular\hasvars.m'. Details: 'File stream is closed. The following flags are set: failbit.'
Checking the @tabular class definition confirms there is no "hasvars.m" method. However checking the 2019b release code shows this method is absent there too.
Even more strangely this warning/error is only raised when the functions are compiled, and the functions run correctly whether the code is compiled or uncompiled (at least as far as we are able to tell).
Is this message an issue we should be worried about, or can we safely ignore it (as it doesn't seem to impact the code's operation)?
0 Comments
Accepted Answer
Eric Sofen
on 25 Feb 2021
I looked into that warning, and you can safely ignore it. It is also not present in R2020b.
More Answers (0)
See Also
Categories
Find more on Desktop in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!