Compiled Function trying to access non-existent @tabular\hasvars.m method (matlab 2020a)
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Piers Lillystone
le 16 Fév 2021
Commenté : Piers Lillystone
le 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 commentaires
Réponse acceptée
Eric Sofen
le 25 Fév 2021
I looked into that warning, and you can safely ignore it. It is also not present in R2020b.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Structures dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!