I found the solution
Thank you
l_first=1;
C= mdf_auslesen(filename,resampleTime,channels);
strname=erase(filename,'.mf4');
Hilf_char='M_';
strname=append(Hilf_char,strname);
save(strname, '-struct', 'C');
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!