"is not a MEX file" error when compiling a simulink model as s-function on a network share
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Frank Hofmann
el 12 de Mayo de 2022
Respondida: Frank Hofmann
el 31 de Mayo de 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 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Simulink Coder en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!