Why "Undefined function or variable 'wavedec3'. " when running a standalone application in Terminal?

1 回表示 (過去 30 日間)
Chao Huang
Chao Huang 2018 年 4 月 12 日
コメント済み: Chao Huang 2018 年 4 月 19 日
I compiled a standalone application to extract radiomic features according to Create Standalone Application from MATLAB. After running the app in command line for seconds, errors popped up as "Undefined function or variable 'wavedec3'. " I figured out the reason was the app could not call the function "wavedec3" which comes from "Wavelet Toolbox".
Why "Wavelet Toolbox" was not included in MATLAB runtime as it is actually supported as stated in Support for MATLAB and Toolboxes ?

回答 (1 件)

Wentao Du
Wentao Du 2018 年 4 月 16 日
It is likely that you are running your compiled application on a machine without MATLAB Runtime: https://www.mathworks.com/products/compiler/matlab-runtime.html
Also note that the compiled applications are not cross-platform compatible (cannot go from Windows to Linux).
  2 件のコメント
Walter Roberson
Walter Roberson 2018 年 4 月 16 日
? If MCR were not present I would expect the executable to give up a lot earlier than that?
Chao Huang
Chao Huang 2018 年 4 月 19 日
I finally fixed it. 'wavedec3' is a function from "Wavelet Toolbox", so go to "MATLAB > Apps > Get more apps > (search) Wavelet Toolbox > install". Afterwards, compile the APP over again.

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

カテゴリ

Help Center および File ExchangeMATLAB Web App Server についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by