Error: Unable to resolve the name load.MATLABDriveTag

1 ビュー (過去 30 日間)
Rita Barnabé
Rita Barnabé 2021 年 11 月 2 日
I'm trying to read multiples files .txt from the folder S1 with this:
clear, close all, clc
path_dados_originais = "C:\Users\35191\MATLAB Drive\Data\Projeto_Processamento\Dados_Sessoes\S1";
path_dados_interpolados = "C:\Users\35191\MATLAB Drive\Data\Projeto_Processamento\Dados_interp";
cd(path_dados_originais)
%Ficheiros a usar:
allfiles = dir;
Nfiles = size(allfiles(3:end,1),1);
for j=1:Nfiles
cd(path_dados_originais)
%Ler os dados
file = allfiles(j+2).name;
eval(['load' file ])
ecg_new = interp(ecg,5);
cd(path_dados_interpolados)
mat_dados = [ecg_new];
eval(['save' file(1:end-4) ' mat_dados'])
end
And i have this error:
Unable to resolve the name load.MATLABDriveTag.
Error in Untitled_interpolar (line 17)
eval(['load' file ])

回答 (0 件)

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by