フィルターのクリア

How to set path of user defined function in matlab2013b?

9 ビュー (過去 30 日間)
Sabanam
Sabanam 2014 年 3 月 29 日
回答済み: Christopher Pedersen 2014 年 3 月 29 日
I have added one function file in image processing toolbox but when m running this function from .m file it shows error that....
Undefined function 'hsv2seg' for input arguments of type 'uint8'.
Error in size_using_fuzzy (line 4) BW=hsv2seg(I);
how can i add this function in matlab?

採用された回答

Christopher Pedersen
Christopher Pedersen 2014 年 3 月 29 日
addpath(fol)
where "fol" is the name of the folder where hsv2seg lives. Matlab will automatically search that folder for functions to use.

その他の回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 3 月 29 日
編集済み: Azzi Abdelmalek 2014 年 3 月 29 日
Put your file in a current folder
%or use addpath
addpath('your_folder')

カテゴリ

Help Center および File ExchangeSearch Path についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by