Can I use fopen with num2str ?
Afficher commentaires plus anciens
Hi I have this problem, I have a lot of file and for read it I use this command:
if true
% fid=fopen('cassone_freebody_data100001fx.dat','rt'); end
If I like to change that number 100001 How can I do?
I tried to write this command but it doesn't work
if true
% fid=fopen('cassone_freebody_data',num2str(100001),'fx.dat','rt'); end
I like to link 100001 to a variable so to build a for function to increment this number please help me
Réponse acceptée
Plus de réponses (2)
Catégories
En savoir plus sur Search Path dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!