open-discussion > I have a problem about psom_run_script.m
Showing 1-1 of 1 posts
Jul 21, 2017 01:07 PM | Jianing Zhang
I have a problem about psom_run_script.m
Dear Pierre:
There are some mistakes when I run the psom program:
Error: File: psom_run_script.m Line: 413 Column: 29
Unexpected MATLAB expression.
The Line 413 Column 29 is
psom_ppn = getenv("PSOM_WORKER_PPN")
1)Double quotes are invalid characters in MATLAB, and I found out the Syntax os getenv is single quotes(http://cn.mathworks.com/help/matlab/ref/...), so I I turned double quotes into single quotes;
2) But MATLAB still display the mistake "Error: File: psom_run_script.m Line: 413 Column: 29
Unexpected MATLAB expression."
Thanks so much.
There are some mistakes when I run the psom program:
Error: File: psom_run_script.m Line: 413 Column: 29
Unexpected MATLAB expression.
The Line 413 Column 29 is
psom_ppn = getenv("PSOM_WORKER_PPN")
1)Double quotes are invalid characters in MATLAB, and I found out the Syntax os getenv is single quotes(http://cn.mathworks.com/help/matlab/ref/...), so I I turned double quotes into single quotes;
2) But MATLAB still display the mistake "Error: File: psom_run_script.m Line: 413 Column: 29
Unexpected MATLAB expression."
Thanks so much.