English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

By using Matlab i did a programming with some particular solutions of 10 files.i want only 7 files,in which i omit 3 files.I want to know how to delete the 3 files and save the 7 files as a common file using MATLAB.please anyone help me.

2006-10-18 23:28:13 · 1 answers · asked by raj 1 in Science & Mathematics Mathematics

1 answers

I can help you if you would please clarify your question.

Are these files .mat files? Do you want to save data from 7 of them into a new .mat file?

You can use Matlab's delete command to delete the unwanted files from within Matlab. If the filenames are variables, then you can use the programmatic form, delete(fname) where fname is a string array containing the filename. If you use the load command to load the contents of the other 7 files into the workspace, then you can save them into a new .mat file.

2006-10-19 07:44:10 · answer #1 · answered by James L 5 · 0 0

fedest.com, questions and answers