I got this problem when running a simulink model with reference model on a cluster. The only way to solve it is to change the working folder of the workers on the cluster side, am i wrong? Is there any other way? Thanks in advance.
Yes, this is a Hard OS Limitation, and the only available options are to shorten the path or to build from a working directory. You can also try reducing the model/file name to a shorter name if possible.