Can't delete myfile.mexw64 after run mexw64?

26 Ansichten (letzte 30 Tage)
cui,xingxing
cui,xingxing am 14 Okt. 2021
Bearbeitet: cui,xingxing am 14 Okt. 2021
The problem is very simple, I used a very simple example file explore.c packaged as a mexw64 library file, using the command
mex -g explore.c
, successfully generated and correctly run the results, but later I can not delete the explore.mexw64 file, unless the MATLAB software is closed, please ask how to solve, thanks in advance!

Akzeptierte Antwort

cui,xingxing
cui,xingxing am 14 Okt. 2021
Bearbeitet: cui,xingxing am 14 Okt. 2021
I found my answer, this ".mexw64" cannot be deleted after using
clear
, but can be deleted after using
clear all

Weitere Antworten (0)

Kategorien

Mehr zu Write C Functions Callable from MATLAB (MEX Files) finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by