Problem with path and methods having the same name.

2 ビュー (過去 30 日間)
Collet Bastien
Collet Bastien 2013 年 3 月 3 日
Hello, My problem is simple, in my workspace I've two methods having the same name. However, matlab is not using the right one, how can I specified the path of the method ?
  1 件のコメント
Miroslav Balda
Miroslav Balda 2013 年 3 月 3 日
Rename one of the functions.

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

回答 (1 件)

Matt J
Matt J 2013 年 3 月 3 日
編集済み: Matt J 2013 年 3 月 3 日
I did make this tool ages ago to allow different paths to serve as name spaces
It's mainly for cases where someone gives you a large package of mfiles and it's too troublesome to go searching through all the files looking for duplicate names.
I don't know that I'd recommend it anymore, though. Probably easiest just to rename the files.

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by