Can't delete myfile.mexw64 after run mexw64?

21 views (last 30 days)
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!

Accepted Answer

cui,xingxing
cui,xingxing on 14 Oct 2021
Edited: cui,xingxing on 14 Oct 2021
I found my answer, this ".mexw64" cannot be deleted after using
clear
, but can be deleted after using
clear all

More Answers (0)

Categories

Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!