Syntax error when opening a file using a path. it says " use a newline, semicolon, or comma before this statement "
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
function data = angleAnalysis_withPlots"('C:/research bme/excel files/Participant 009-002.xlsx')";
0 comentarios
Respuestas (1)
Stephan
el 3 de Jun. de 2020
It is unclear what you want:
maybe you forgot to underline your variable name
function_data = angleAnalysis_withPlots('C:/research bme/excel files/Participant 009-002.xlsx')
or you wanted to define a function, then better use:
result = angleAnalysis_withPlots('C:/research bme/excel files/Participant 009-002.xlsx')
function data = angleAnalysis_withPlots(myInput)
% your code here
% some stuff like making numbers from chars
data = double(myInput);
end
6 comentarios
Ver también
Categorías
Más información sobre Search Path en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!