Borrar filtros
Borrar filtros

Automate mass open and process: string issue

4 visualizaciones (últimos 30 días)
sas0701
sas0701 el 9 de Jul. de 2013
Hello,
I am sure this is a simple answer but I don't know it. I have ~ 175 datasets with names like this 1400075_03_D.txt
The numbers 1400075_03 are different of course for each dataset.
I need to do the following for all datasets:
alldata=importdata('1400075_03_D.txt'); EEG=pop_importdata('setname',140007503,'data',data,'chanlocs',chanlocs,'srate',250) EEG=pop_saveset(EEG,'filename','140007503');
Is there a simple way I can automate this?
Thanks!

Respuesta aceptada

dpb
dpb el 9 de Jul. de 2013
See the FAQ
There's also a discussion/examples now in the documentation under the section Data and File Management if you drill down from there

Más respuestas (0)

Categorías

Más información sobre Predictive Maintenance Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by