Unexpected MATLAB expression when trying to load file
Mostra commenti meno recenti
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 Commenti
Geoff Hayes
il 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
il 27 Mar 2018
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su String Parsing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!