Cannot find Matlab Coder, however its installed
Show older comments
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
More Answers (2)
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
on 6 Oct 2011
Andy Zelenak
on 1 Jun 2019
Edited: Andy Zelenak
on 1 Jun 2019
0 votes
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!