MATLAB Coder
5Pages

{{requestButtons}}

Catalog excerpts

MATLAB Coder - 1

MATLAB Coder Generate C and C++ code from MATLAB code MATLAB Coder™ generates standalone C and C++ code from MATLAB® code. The generated source code is portable and readable. MATLAB Coder supports a subset of core MATLAB language features, including program control constructs, functions, and matrix operations. It can generate MEX functions that let you accelerate computationally intensive portions of MATLAB code and verify the behavior of the generated code. Key Features ▪ ANSI/ISO compliant C and C++ code generation ▪ MEX function generation for fixed-point and floating-point math ▪ Project management tool for specifying entry points, input data properties, and other code-generation configuration options ▪ Static or dynamic memory allocation for variable-size data ▪ Code generation support for many functions and System objects™ in Communications System Toolbox™, Computer Vision System Toolbox™, DSP System Toolbox™, and Phased Array System Toolbox™ ▪ Support for common language matlab features, including matrix operations, subscripting, program control statements (if, switch, for, while), and structures MATLAB Coder works with Simulink Coder™ and Embedded Coder® to generate C code from Simulink® models that contain MATLAB code. The generated C code can be used for: ▪ Standalone execution ▪ Integration with other software ▪ Accelerating MATLAB algorithms ▪ Embedded implementation

Open the catalog to page 1
MATLAB Coder - 2

i MATLAH CnrJer C/O-Dynwrif Liraty Ovsrview Build C-Jlpjl File kahunf*er Output type fJCt + Dyiu™ L*rary links tn pour MATLAB cnd< Kid generated LVC+ + files, md prtwles-cnmpiltrinv; type infoimKinn fnrtheva C sourci end* girmaitd on 01 Aug ittl J ID JO 11 Coding I*I ;n Stale Library mil I s LVhal TIXJ Thmh We value ■(H* tBedsao. Pleas Bia*e a1e* minutes to answer mis snort ojesrjcrnairore'i.araro Tie MATLAB Coder project manager interface (left) and code generation report (right) showing generated C code. MATLAB Language Subset for Code Generation MATLAB Coder generates code from a subset...

Open the catalog to page 2
MATLAB Coder - 3

▪ Prototype your MATLAB algorithms as a standalone executable on PCs and communicate them as design specifications to your software engineers ▪ Accelerate parts of your simulation by replacing the MATLAB code with an automatically generated MATLAB executable (MEX function) that calls the compiled C or C++ code ▪ Integrate your MATLAB algorithms as a compiled library component into other software such as a custom simulator ▪ Implement and verify your MATLAB algorithms on an embedded processor MATLAB Coder use cases. Generating Code from MATLAB Translating MATLAB algorithms to C code involves...

Open the catalog to page 3
MATLAB Coder - 4

Three-step iterative workflow for generating code from MATLAB using MATLAB Coder. MATLAB Coder with Simulink Coder and Embedded Coder The MATLAB Function block for simulation and code generation lets you add MATLAB algorithms written in the MATLAB subset for integrating MATLAB code into Simulink models. Simulink Coder lets you generate code from these Simulink models that contain MATLAB code. ■ alocfc rlderrro radar eml/rMTLflB Fraction Rangehat = sqet iith at (1) "2+xhat (3) "2); Eearinghat = atan2 (what: (3) , shat (1) J ; residual = meas - ytiat; File Edit view Display Diagram Simulation...

Open the catalog to page 4
MATLAB Coder - 5

Embedded Coder generates code for supported embedded processors, on-target rapid prototyping boards, and microprocessors used in mass production. It extends MATLAB Coder and Simulink Coder by providing configuration options and advanced optimizations for fine-grain control of the generated code’s functions, files, and data. Embedded Coder improves code efficiency and facilitates integration with legacy code, data types, and calibration parameters used in production. Code generated with Embedded Coder can be exported into third-party development environments, enabling you to automate the...

Open the catalog to page 5

All The MathWorks catalogs and technical brochures

  1. Stateflow

    8 Pages

  2. SimEvents

    7 Pages

  3. SimDriveline

    7 Pages

  4. SimRF

    6 Pages

  5. OPC Toolbox

    5 Pages

  6. SimBiology

    6 Pages

  7. xPC Target

    5 Pages

  8. SimMechanics

    7 Pages

  9. Simscape

    7 Pages

  10. Simulink

    6 Pages

  11. MATLAB®

    6 Pages

Archived catalogs

  1. Graphics

    667 Pages

  2. Data Analysis

    220 Pages

  3. Mathematics

    316 Pages