MATLAB Answers

Can't delete myfile.mexw64 after run mexw64?

6 views (last 30 days)
cui
cui on 14 Oct 2021
Edited: cui on 14 Oct 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!

Accepted Answer

cui
cui on 14 Oct 2021
Edited: cui 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)

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by