フィルターのクリア

Save structure as a .mat

3 ビュー (過去 30 日間)
cemsi888
cemsi888 2023 年 12 月 2 日
移動済み: Dyuman Joshi 2023 年 12 月 2 日
l_first=1;
C= mdf_auslesen(filename,resampleTime,channels);
Unrecognized function or variable 'filename'.
strname=erase(filename,'.mf4');
Hilf_char='M_';
strname=append(Hilf_char,strname);
assignin('base',strname,C);
%% I would like to save my structure in to .mat file
%% Hello all,
% I am reading .mf4 from different measures and would like to save
% them in my folder aoutomaticaly as a .mat. Could you please
% recommend me way to save my structure array as a .mat. Thanks in
% advance

回答 (1 件)

cemsi888
cemsi888 2023 年 12 月 2 日
移動済み: Dyuman Joshi 2023 年 12 月 2 日
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');

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT-Files についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by