Cannot find Matlab Coder, however its installed
显示 更早的评论
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?
采纳的回答
更多回答(2 个)
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
Andy Zelenak
2019-6-1
编辑:Andy Zelenak
2019-6-1
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!