Using MATLAB Tools for Enhanced Programming Capabilities

Slide Note
Embed
Share

Exploring the power of MATLAB tools such as MATLAB Compiler and Runtime, MATLAB Coder, and MATLAB Engine for Python can greatly enhance your programming capabilities. These tools allow you to create standalone applications, generate C/C++ code, call Python from MATLAB, and utilize parallel computing. The provided images and links offer insights and examples on how to leverage these tools effectively.


Uploaded on Sep 09, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. Some MATLAB tools on Eagle Matthew Reynolds

  2. Outline MATLAB Compiler and Runtime MATLAB (and Simulink) Coder Calling Python from MATLAB MATLAB Parallel Computing Toolbox and Parallel Server

  3. MATLAB Compiler and Runtime MATLAB Compiler allows users to create standalone applications Apparently, there is functionality with Spark and Excel (I ve never used this). End users can run compiled applications royalty-free using MCR, or MATLAB Compiler Runtime We also have a license for MATLAB Compiler SDK, which allows users to build C/C++ shared libraries, Python packages, etc. from MATLAB code (I haven t used this yet either). Note: if you want to generate C/C++ source code, use MATLAB Coder.

  4. Quick MATLAB Compiler example Hello_world example

  5. Mathworks webpages of interest https://www.mathworks.com/products/compiler.html (product page for MATLAB compiler, including demos, videos, etc) https://www.mathworks.com/products/compiler/compiler_support.h tml (provides a table of compatibilities between MATLAB Compiler and Toolboxes)

  6. MATLAB Coder MATLAB Coder enables users to generate C or C++ code from MATLAB code. You can also generate MEX files for accelerating MATLAB code. It supports most of MATLAB and a wide range of toolboxes (their words, not mine). https://www.mathworks.com/products/matlab-coder.html (product page containing examples, compatibility lists, videos, etc.)

  7. Quick MATLAB Coder demo Hello_world again Filtering example

  8. MATLAB Engine for Python The MATLAB Engine API for Python provides a package for Python to call MATLAB as a computational engine. Works with Python versions 2.7, 3.6, 3.7,3.8 For use on Eagle, it s best to follow the instructions for installing the MATLAB Engine API in non-default locations: https://www.mathworks.com/help/matlab/matlab_external/install- matlab-engine-api-for-python-in-nondefault-locations.html For more information on the engine, including examples, see: https://www.mathworks.com/help/matlab/matlab-engine-for- python.html

  9. Quick Matlab Engine for Python Example Check if a number is prime

Related


More Related Content