フィルターのクリア

Error when converting to an exe file

1 回表示 (過去 30 日間)
hoda kazemzadeh
hoda kazemzadeh 2018 年 6 月 20 日
コメント済み: hoda kazemzadeh 2018 年 6 月 20 日
Hi, I convert my GUI to executable file, I have 'str2fun' in one of the functions which I call from the main function. Do I have to add extra files in addition to the main file or not? I have error when I run it:
Undefined function 'hanning' for input argument of type double.
I have "w=str2func(hanning)" in the code.
Merc for your help in advance.

採用された回答

Jan
Jan 2018 年 6 月 20 日
編集済み: Jan 2018 年 6 月 20 日
Do you mean
I'd prefer @hann or @hamming instead of str2fun.
Just a hint: Did you ask an internet search engine for "Matlab hanning"? You would get equivalent replies, but in parts of a second.
  1 件のコメント
hoda kazemzadeh
hoda kazemzadeh 2018 年 6 月 20 日
Thanks, I replaced str2fun with @hanning.
hann and hanning are the same. hamming is another windowing function.

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by