"is not a MEX file" error when compiling a simulink model as s-function on a network share
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Frank Hofmann
il 12 Mag 2022
Risposto: Frank Hofmann
il 31 Mag 2022
When trying to compile a simulink submodel "mySub" as s-function, with the working directory "U:\Work" on a network share "U:", I get the following error message:
Top model targets built:
Model Action Rebuild Reason
================================================
mySub Failed ForceTopModelBuild was enabled.
0 of 1 models built (0 models already up to date)
Build duration: 0h 0m 14.992s
'U:\Work\mySub_sf.mexw64' is not a MEX file. For more information, see File is not a MEX file.
When performing the compilation on "c:\work", it works.
When the copying the s-function and mex-file to the network direcory and runnings the model with the s-function, I again get an error message
Caused by:
- Invalid MEX-file 'U:\Work\mySub_sf.mexw64': access denied
My computer has Windows 10 (64-bit).
How can I compile a submodel on a network share, and execute a s-function on a network share? Or is there another hidden reason for the problem, like e.g. network latencies or a virus scanner interference?
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Simulink Coder in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!