How can I get in code the path of currently running deployed matlab function
4 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Sebastian Holmqvist
on 9 Aug 2012
pwd also returns the current path. This is what I use in my GUIs.
2 Comments
Sebastian Holmqvist
on 10 Aug 2012
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.
More Answers (1)
See Also
Categories
Find more on Standalone Applications 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!