Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to remove a file extension?

2 vues (au cours des 30 derniers jours)
Mario Martos
Mario Martos le 23 Mai 2016
Clôturé : Stephen23 le 23 Mai 2016
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

Community Treasure Hunt

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

Start Hunting!

Translated by