Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to remove a file extension?

1 次查看(过去 30 天)
Mario Martos
Mario Martos 2016-5-23
关闭: Stephen23 2016-5-23
Hello, I wanted to ask about how I can remove a file extension because I have a function to call without the extension :
For example:
function[] = main (input)
Where input is an XML file , and after a process that file need to call in another function within it without the XML extension.
That would read:
function = first ( ' file.xml ');
and later that file without the extension in another function within the .m file as :
function[] = second ( 'file ' ) ,
here already without the .xml extension. Thanks in advanced!
  1 个评论
Stephen23
Stephen23 2016-5-23
Please stop duplicating your question everywhere:
You already asked this in a comment, and got a very thorough answer.

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by