MATLAB Answers

Mark Manusov

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




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

Mark Manusov
on 22 Jan 2014

Thank you. It seems R2010b does not support Codegen

Discover MakerZone

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

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!