MATLAB - File I/O
What is wrong with this code snippet?
opts = detectImportOptions('file.csv');
opts.Delimiter = ';';
data = readtable('file.csv', opts);