Cannot find Matlab Coder, however its installed

12 views (last 30 days)
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?

Accepted Answer

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

Sign in to comment.

More Answers (2)

Andreas Goser
Andreas Goser on 6 Oct 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 Comment
thomas mann
thomas mann on 6 Oct 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

Sign in to comment.


Andy Zelenak
Andy Zelenak on 1 Jun 2019
Edited: Andy Zelenak on 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.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!