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

New to MATLAB?

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

Mark Manusov (view profile)

on 22 Jan 2014
Latest activity Answered by Walter Roberson

Walter Roberson (view profile)

on 22 Jan 2014

trying to convert matlab code to C

0 Comments

Mark Manusov

Mark Manusov (view profile)

Tags

Products

2 Answers

Answer by Bruno Pop-Stefanov

Bruno Pop-Stefanov (view profile)

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

Mark Manusov (view profile)

on 22 Jan 2014

Thank you. It seems R2010b does not support Codegen

Bruno Pop-Stefanov

Bruno Pop-Stefanov (view profile)

Contact us