Unrecognized function or variable 'gausswin'

8 ビュー (過去 30 日間)
Alessia Perilli
Alessia Perilli 2022 年 5 月 24 日
コメント済み: Alessia Perilli 2022 年 5 月 29 日
Hello,
I have a problem with the function gausswin. I get the error "Unrecognized function or variable 'gausswin'". I have the Signal Processing Toolbox installed.
What can be the problem?
Thanks!
  4 件のコメント
Alessia Perilli
Alessia Perilli 2022 年 5 月 24 日
I thought so, but indeed I get:
License checkout failed.
License Manager Error -5
Cannot find a license for Signal_Processing_Toolbox.
It is an academic license, I got it from my university. Maybe I should check with them.
So is this the problem?
Alessia Perilli
Alessia Perilli 2022 年 5 月 24 日
Something I tried now, before seeing your answer, is to add the toolbox folder to the search path. Now I get a similar error but on a different function,
Unrecognized function or variable 'eml_invariant'.
which I don't even know what it is.
Thank you for the answers!

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

回答 (1 件)

Walter Roberson
Walter Roberson 2022 年 5 月 26 日
eml_invariant is a function that would normally only be used during code generation. setdiff() and computer() do not contain any reference to them in normal times.
However, if you do not have a license for a toolbox, and you try to add to the path files that are intended to be used only by MATLAB Compiler or MATLAB Coder, then you can encounter problems with eml_invariant not being found, because you are executing a different version of the code only intended for code generation.
You need to install and license the missing toolbox, and make sure that the code generation directories are not on your MATLAB path.
  1 件のコメント
Alessia Perilli
Alessia Perilli 2022 年 5 月 29 日
Thank you, I solved by unistalling Matlab2022a and reinstalling 2021b, no problem with that version, all the licenses are ok.

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

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by