Effacer les filtres
Effacer les filtres

Why do I get an error when running the MEX file from a non standard location on SELinux?

5 vues (au cours des 30 derniers jours)
If you call a mex file from a non-standard location such as an external drive on SELinux, the following error is generated:
??? Invalid MEX-file '/media/sda3/.../timestwo.mexglx':
/media/sda3/.../timestwo.mexglx: failed to map segment from shared
object: Operation not permitted.

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 22 Nov 2010
This issue is specific to bad device loading on SELinux.
As a workaround, copy the MEX file from the non standard location to a standard location such as a subdirectory in your home folder and try loading the MEX file from there.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by