problem loading a .mat file stored in a package
4 次查看(过去 30 天)
显示 更早的评论
If I create a package and store some test data in a .mat file in that package folder and then import the whole package why can't I just do load filename.mat? It can't seem to find the file. The folder above the package is definitely on the path.
1 个评论
Walter Roberson
2012-7-17
Could you clarify what you mean by "package" in this situation? For example is this a question about the MATLAB Compiler and an "additional file" ?
回答(1 个)
HyunGwang Cho
2023-10-26
I had the same problem. I don't know if this is the correct way, but I used
load +mypackage/filename.mat
like this.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!