MATLAB Answers


I have Matlab R2010b. when I type codegen on the command line it says ??? Undefined function or variable 'codegen'. Is codegen avaialable on R2010b. If not what version is it supported on?

Asked by Mark Manusov on 22 Jan 2014
Latest activity Answered by Walter Roberson
on 22 Jan 2014

trying to convert matlab code to C


Log in to comment.



2 Answers

Answer by Bruno Pop-Stefanov on 22 Jan 2014
 Accepted Answer

Execute ver in the Command Window to display the list of available products and search for "MATLAB Coder". If it is not there, then you cannot use it.

Function codegen is part of the MATLAB Coder toolbox.

  1 Comment

Log in to comment.

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!