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?

采纳的回答

Sebastian Holmqvist
pwd also returns the current path. This is what I use in my GUIs.
  2 个评论
Sebastian Holmqvist
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 个)

Image Analyst
Image Analyst 2012-8-9
That's in the variable called ctfroot.

类别

Help CenterFile Exchange 中查找有关 Standalone Applications 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by