How can I get in code the path of currently running deployed matlab function
4 次查看(过去 30 天)
显示 更早的评论
I have a deployed standalone MATLAB GUI, and in the code I need the path where the deployed .exe located. Is there any solution for this?
0 个评论
采纳的回答
Sebastian Holmqvist
2012-8-9
pwd also returns the current path. This is what I use in my GUIs.
2 个评论
Sebastian Holmqvist
2012-8-10
pwd is actually an alias for cd. The difference is that with cd, you can also change the current directory while pwd only calls cd without arguments. See help cd for more info.
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Standalone Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!