Azzera filtri
Azzera filtri

Cannot find Matlab Coder, however its installed

20 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Andreas Goser
Andreas Goser il 6 Ott 2011
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 Commento
thomas mann
thomas mann il 7 Ott 2011
reinstalled it again, this time i turned OFF antivirus and it works! maybe this was the issue.. thank you for your help anyway

Accedi per commentare.

Più risposte (2)

Andreas Goser
Andreas Goser il 6 Ott 2011
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 Commento
thomas mann
thomas mann il 6 Ott 2011
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

Accedi per commentare.


Andy Zelenak
Andy Zelenak il 1 Giu 2019
Modificato: Andy Zelenak il 1 Giu 2019
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.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by