Developing Algorithms in the MATLAB Environment
Plug Power
We don’t have time to investigate our algorithms with C or C++. Fortunately, MATLAB lets us test our ideas with just a few lines of code. It saves a lot of time, and moves us toward our goal of creating a commercially viable onsite energy system.![]()
- Algorithm Development Overview
- Developing Algorithms in the MATLAB Environment
- Designing Embedded Algorithms
MATLAB offers integrated capabilities for deep and broad exploration of algorithm design options, as well as for efficient deployment to desktop and embedded software environments.
Explore and Refine Your Ideas
The MATLAB environment lets you explore multiple ideas and approaches. The high-level language automatically manages low-level programming details such as memory management and variable typing, letting you focus on what you want the algorithm to do.
MATLAB encourages an iterative process because it enables you to:
- Edit, debug, and test different designs without compiling or linking
- Customize the rich set of proven algorithms and functions already implemented in the MATLAB language
- Browse and recall previous commands to repeat and modify your approach
Once your algorithm is functionally correct, you can optimize it for performance and maintainability. Built-in tools identify potential problems and recommend modifications. To ensure that the algorithm works robustly on fixed-point processors, you can apply fixed-point data types and arithmetic.
Test and Verify Your Algorithm
The true test of an algorithm is how it performs under real-world conditions. You can test your algorithms on financial, mapping, image, or other data by connecting directly to databases, hardware, and instruments.
Deploy, Share, or Distribute Your Algorithm
Once your algorithm is fully optimized and tested, MATLAB provides multiple ways to share it with others, including a range of options for documenting and publishing your code and results. Algorithms can be distributed directly to other MATLAB users. You can also deploy your algorithm as a stand-alone application, as a software module that can be integrated with other languages and applications, or as standalone C code.

Free Algorithm Development Technical Kit
Learn why MATLAB lets you develop algorithms much faster than low-level languages such as C, C++, or Fortran.
Get free kit