How to create a .mat file corresponding to a .txt file, as per user input?
Mostrar comentarios más antiguos
I have files in my Matlab directory in the form 'Phase3Subject1.txt', 'Phase3Subject2.txt',...'PhasexxSubjectyy.txt'. How do I take inputs for xx and yy from the user, and create the corresponding .mat file showing all the data stored in the .txt file? For example, if user gives input xx=2, yy=14, it should create 'Phase2Subject14.mat' file and show all the data that was stored in 'Phase2Subject14.txt'. Please give the entire code.
1 comentario
Azzi Abdelmalek
el 25 de Jul. de 2015
Can you give more details about the data in your text file?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre File Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!