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.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.