MATLAB Answers

Exceeded path length when building simulink model on cluster

1 view (last 30 days)
Samuele Di Ruscio
Samuele Di Ruscio on 16 May 2020
Answered: Kiran Felix Robert on 12 Feb 2021
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.

Answers (1)

Kiran Felix Robert
Kiran Felix Robert on 12 Feb 2021
Hi Samuele,
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.

Community Treasure Hunt

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

Start Hunting!