How to make MATLAB run a built-in function instead of a custom function?

4 visualizaciones (últimos 30 días)
There's a code that calls for a built-in stats function, but there is a custom data function with the same name.
I can't edit the custom data function, so I wanted to know how I can ignore the custom function (H: Drive) and call the built-in one instead (C: Drive).

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 20 de Sept. de 2022
Remove that (H: Drive) folder from your MATLAB path, or move it below the (C: Drive) folder that contains that built-in function.
run "which -all FunName" to see a list of files with the same FunName. The first one is called.

Más respuestas (0)

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by