How to use system to copy binary files which are not in the current directory
Afficher commentaires plus anciens
Hi,
I'm currently struggling with using the system command to combine a series of binary files into one file. My code (and therefore the current directory) is in: 'M:\Year 3\Programming and Software\MatLab' and the binary files I'm trying to combine are in 'M:\Project Action\Combine Test'.
My current attempt is stuck at the point seen in the code below.
system(['copy /b ' folder '/* ' folder '\' rename]);
Where 'folder' is the absolute location of the folder containing the binary files and 'rename' is a string to determine the name of the file containing all of the files combined.
Any help would be greatly appreciated :D
Thanks,
Jared.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur File Operations dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!