MATLAB Answers

How can I get the source file path shown permanently in the MATLAB GUI?

1 view (last 30 days)
Thomas Kelber
Thomas Kelber on 8 Feb 2018
Commented: Thomas Kelber on 19 Feb 2018
I want to see the path of the current opened MATLAB source file in the MATLAB GUI permanently.
There exists an option in the preferences -> GUIDE -> "Show file path in window title", which does not work here.

  2 Comments

Gayatri Menon
Gayatri Menon on 16 Feb 2018
Hi,
Are you looking for an option to add the path in the title when you execute the .fig file.
Thanks
Thomas Kelber
Thomas Kelber on 19 Feb 2018
No, I'm looking for an option to show the file path of the .m file which is currently opened in the editor.

Sign in to comment.

Answers (1)

Gayatri Menon
Gayatri Menon on 19 Feb 2018
Hi,
I think changing the "Name" property in Property Inspector may help. When you specify the Name property, the title of the figure changes as specified in this property.You could also give a pathname here.
Thanks

  1 Comment

Thomas Kelber
Thomas Kelber on 19 Feb 2018
Thank you for your reply. I'm not working with figures but editing .m files with same names but different pathnames, which I want to see while editing not to mix them up.

Sign in to comment.

Sign in to answer this question.