Unexpected MATLAB expression when trying to load file
古いコメントを表示
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 件のコメント
Geoff Hayes
2018 年 3 月 27 日
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
2018 年 3 月 27 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で String Parsing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!