Invalid path error during making Simulink target with GPU acceleration
2 views (last 30 days)
Show older comments
Hello. I have a quite complex Simulink model called 'barborka' with a subsystem and a couple of Matlab function blocks. I was just trying to use the newest function in Matlab 2020b which is accelerating Simulink simulations with GPU. Normally the simulation takes a while and I would like to speed it up. However after configuring whole model, I get an error
Making simulation target "barborka_sfun", ...
### Linking ...
"C:\Program Files\MATLAB\R2020b\bin\win64\mex.exe" -R2018a -f "C:\Users\filip\AppData\Roaming\MathWorks\MATLAB\R2020b\mex_C++_win64.xml" -silent LDFLAGS="$LDFLAGS -Xlinker " " " -output barborka_sfun.mexw64 @barborka_sfun.mol
Invalid path
gmake: *** [barborka_sfun.mexw64] Error -1
What may be the problem and how can I solve it?
0 Comments
Answers (1)
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!