Replacing "dir" when deploying a GUI
古いコメントを表示
When turning a GUI into a standalone application i found out that the function "dir" i was using to get the names of the files in a folder, is not working. Using MATLAB Compiler i could add these files to the executable but i don't know how to get their names now i can't use this function, is there a similar one that works in a deployed code?
3 件のコメント
Adam
2018 年 7 月 26 日
I'm fairly sure I've used dir in a compiled application. I always use it with an argument though rather than just relying on whatever the current folder happens to be. I don't see any restrictions in the Help that suggest it doesn't work in a deployed executable.
OCDER
2018 年 7 月 26 日
Can you show us an example code of how dir is used?
Edison
2018 年 7 月 26 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で File Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!