matlab uses "which" to find a file that shows up as a built-in function location, but why doesn't the file actually exist?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
cui,xingxing
el 26 de Mzo. de 2023
Editada: cui,xingxing
el 26 de Mzo. de 2023
which some-built-in-function
filename = "some-built-in-function-path";
if isfile(filename)
disp("this file exist")
else
disp("this file not exist")
end
so why does the actual file not exist? How do I understand what the file is "doing", or is it something like a mex file?
0 comentarios
Respuesta aceptada
Steven Lord
el 26 de Mzo. de 2023
Functions that which reports as built-in are compiled into the various binary files that make up MATLAB. If you're trying to find those files to read or modify the source code that is not possible. We do not distribute the source code for built-in functions.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Write C Functions Callable from MATLAB (MEX Files) 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!