MATLAB Answers

auto generated invalid variable names

40 views (last 30 days)
Alexander on 4 May 2019
Commented: Alexander on 8 May 2019
As stated here:
I get an error
Error using opt705 (line 86)
Invalid variable name "_symans_[[32, 0, 7034898]]" in ASSIGNIN.
Error in run (line 91)
evalin('caller', strcat(script, ';'));
During a script run.
The according main script opt705.m and related functions are attached.
I assume, the error has a random nature, so I don't know how to reproduce it directly. However, I have saved data files until the crash, so it would be helpful, I could post the matfiles generated by the script so far (until it crashed).


Jan on 8 May 2019
@Alexander: Running a script inside the workspace of the caller is ugly. I do not know, if this must necessarily cause the observed problem, but especially if running in parallel, the computing is more fragile.
The error message is strange:
Error using opt705 (line 86)
Invalid variable name "_symans_[[32, 0, 7034898]]" in ASSIGNIN.
Line 86 in opt705 is:
parfor i = 1:length(x)
I do not see, how this line can cause this error.
Alexander on 8 May 2019
yeah... I don't see any reason too, why the line should cause any problems. This is why I posted the problem here :)
Another problem occures, which states
*** Error in `/opt/R2018b/toolbox/symbolic/mupad/../../../bin/glnxa64/mupkern': malloc(): smallbin double linked list corrupted: 0x000000000b731180 ***
This is why my current assumption is, that I have to tweak my ulimits. However, the script is running since two days now (even after the message about malloc), and I need my results more, that a stable script. So, if it crushes again, my next try will be to experiment with ulimits, if not, the problem will become minor in my eyes anyway.
Anyway, thanks @all for have a look into the problem...

Sign in to comment.

Answers (0)




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by