How to remove a file extension?

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 commentaire

Stephen23
Stephen23 le 23 Mai 2016
Please stop duplicating your question everywhere:
You already asked this in a comment, and got a very thorough answer.

Réponses (0)

Cette question est clôturée.

Tags

Clôturé :

le 23 Mai 2016

Community Treasure Hunt

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

Start Hunting!

Translated by