About libgfortran.3.dylib (no such file)
When I run a toolbox in Matlab, MEX file error.
such as follow:
'/Applications/Polyspace/R2021a.app/GPOPS2/nlp/snopt/snoptcmex.mexmaci64' 无效:
dlopen(/Applications/Polyspace/R2021a.app/GPOPS2/nlp/snopt/snoptcmex.mexmaci64, 0x0006): Library not loaded:
/sw/lib/gcc4.4/lib/libgfortran.3.dylib
Referenced from: /Applications/Polyspace/R2021a.app/GPOPS2/nlp/snopt/snoptcmex.mexmaci64
Reason: tried: '/sw/lib/gcc4.4/lib/libgfortran.3.dylib' (no such file), '/usr/local/lib/libgfortran.3.dylib' (no such
file), '/usr/lib/libgfortran.3.dylib' (no such file)
I think it is the reason about Apple M1.
Wish to be helped to solve the problem!!