2017-10-12 3 views

Répondre

1

Vous pouvez effectuer les opérations suivantes (après avoir importé le fichier Excel dans Matlab (Link)

% Read excel file and store it in a cell array 
% I've created this dummy cell array as an example 
c = {'fprintf(''Command 1\n'')', 
    'fprintf(''Command 2\n'')'}; 

% Now you can evaluate a string as a command 
for i = 1:length(c) 
    eval(c{i}) 
end