New MATLAB version overrides my function with class method. Can I still call my function?

I had a function in a file harmonic.m in my matlab path with prototype:
function D = harmonic(A,B,C) where, importantly, A is expected to be a matrix of type double.
In version r2014a, apparently MATLAB has created a new builtin class method double.harmonic. Thus when I call my function I get an error inside the wrong harmonic. It doesn't help that my harmonic is closer in the path list (which harmonic reveals my path) because my first input is A and harmonic(A,B,C) seems to be equivalent to A.harmonic(B,C).
Is there any way to call my function directly? To ignore this double.harmonic function? I know I can create a function handle from the path, but that's nasty. I'm looking for a more elegant solution or workaround. The most obvious being change my function's name, but then I'll feel bullied : - (.

1 件のコメント

per isakson
per isakson 2014 年 5 月 2 日
編集済み: per isakson 2014 年 5 月 2 日
AFAIK: There is no better way than renaming :-( . And the sooner the better.

サインインしてコメントする。

回答 (0 件)

カテゴリ

製品

質問済み:

2014 年 5 月 2 日

編集済み:

2014 年 5 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by