MATLAB Answers

Undefined function or variable 'profile'.

5 ビュー (過去 30 日間)
Gal Lev
Gal Lev 2018 年 12 月 13 日
回答済み: Philip Borghesani 2018 年 12 月 13 日
Please hELp
Trying to execute profile with a standalone script compiled with Compiler version: 6.4 (R2017a), and getting the following error
profile off;
if isequal(profile_mode, 'on')
profile on;
end
->
Undefined function or variable; 'profile'.

  0 件のコメント

Sign in to comment.

採用された回答

per isakson
per isakson 2018 年 12 月 13 日
編集済み: per isakson 2018 年 12 月 13 日
Documentation says:
MATLAB® Compiler™ supports the full MATLAB language and almost all toolboxes based on MATLAB except:
  • Most of the prebuilt graphical user interfaces included in MATLAB and its companion toolboxes.
I assume that profile belongs to the exceptions

  1 件のコメント

Gal Lev
Gal Lev 2018 年 12 月 13 日
As suspected... :(. Many Thanks for the confirmation

Sign in to comment.

その他の回答 (1 件)

Philip Borghesani
Philip Borghesani 2018 年 12 月 13 日
Per is correct. The profiler is not currently supported by the compiler. However the primary reason for this is that there have been few if any requests for support and we are not sure what a valid use case would be. In addition only command access would be availible (profile('info') not the viewer). If you have a strong need for this and are willing to work it through I suggest contacting support.

  0 件のコメント

Sign in to comment.


Translated by