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

3 次查看(过去 30 天)
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).

采纳的回答

Fangjun Jiang
Fangjun Jiang 2022-9-20
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by