Cannot find Matlab Coder, however its installed

8 ビュー (過去 30 日間)
thomas mann
thomas mann 2011 年 10 月 6 日
編集済み: Andy Zelenak 2019 年 6 月 1 日
I cannot start Matlab coder. I type "coder" in the command window, i get: "??? Undefined function or variable 'coder'." I have version 2011a. "Check for updates" panel says i have up to date Matlab coder , its version is 2.0.. What can be the problem?

採用された回答

Andreas Goser
Andreas Goser 2011 年 10 月 6 日
This means there is proof the product was not successfully installed. I don't know why however. The only idea I have is to completely uninstall and reinstall. If you don't want that or already tried without success, please contact Installation Support.
  1 件のコメント
thomas mann
thomas mann 2011 年 10 月 7 日
reinstalled it again, this time i turned OFF antivirus and it works! maybe this was the issue.. thank you for your help anyway

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

その他の回答 (2 件)

Andreas Goser
Andreas Goser 2011 年 10 月 6 日
A couple of different tests.
1. Licensed?
license('test', 'MATLAB_Coder') % Should return 1
2. Installed?
ver % Should return MATLAB coder (alphabetical order below MATLAB and Simulink)
3. Path issue?
which coder -all % Should return one coder.p file in ...\toolbox\coder\coder\coder.p
  1 件のコメント
thomas mann
thomas mann 2011 年 10 月 6 日
1. Licensed?
*ans =
1*
2. Installed?
there was no Matlab coder on the list, HOWEVER i have installed it, three times reinstalled it. In addition there IS Matlab coder on the Check for updates list
3. Path issue?
'coder' not found
BUT: there IS a coder.p file in my C:\Program Files\MATLAB\R2011a\toolbox\coder\coder folder.
reinstalling matlab doesnt help even custom install of matlab coder

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


Andy Zelenak
Andy Zelenak 2019 年 6 月 1 日
編集済み: Andy Zelenak 2019 年 6 月 1 日
A potential cause is having multiple MATLAB licenses available. Say, several student licenses and the toolbox is associated with a different student license than what you have installed.
Another potential cause (for Linux, at least) is if the permissions of your Coder toolbox folder are wrong.

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by