Unexpected MATLAB expression when trying to load file
Afficher commentaires plus anciens
I am trying to load a file into Matlab and I am getting an unexpected MATLAB expression in the first line of code below:
function [data,loginfo]=LoadZmachineData('C:\ProgramData\ZmachineDataViewer\name\Import0\data200\00000.bin')
loginfo = parse_wbpp_log_public(strrep(file_name,'bin','LOG'));
The warning from MATLAB when hovering over this code reads:
"Invalid syntax, possibly missing a ')'" "Use a newline, semnicolon or comma before this statement" "Parse error at ')' might be invalid MATLAB syntax)"
I have tripled checked that the path is correct.
Thank you for your time.
2 commentaires
Geoff Hayes
le 27 Mar 2018
Edward - can you post the code instead? i.e. please attach the m-file with just those lines of code that are showing the error.
Edward Szczygiel
le 27 Mar 2018
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur String Parsing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!