Can you open a file that is not in your matlab directory with the fopen function?

 Réponse acceptée

yo just have to specify the full path:
fid=fopen('C:\users\your_name\Desktop\your_file.txt');

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by