Filter löschen
Filter löschen

Cannot find Matlab Coder, however its installed

20 Ansichten (letzte 30 Tage)
thomas mann
thomas mann am 6 Okt. 2011
Bearbeitet: Andy Zelenak am 1 Jun. 2019
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?

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

Andreas Goser
Andreas Goser am 6 Okt. 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 Kommentar
thomas mann
thomas mann am 6 Okt. 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

Melden Sie sich an, um zu kommentieren.


Andy Zelenak
Andy Zelenak am 1 Jun. 2019
Bearbeitet: Andy Zelenak am 1 Jun. 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.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by