MATLAB-Coder: Unterschied zwischen den Versionen

Aus HSHL Mechatronik
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Zeile 5: Zeile 5:
| '''Autor:'''  || [[Benutzer:Ulrich_Schneider| Prof. Dr.-Ing. Schneider]]
| '''Autor:'''  || [[Benutzer:Ulrich_Schneider| Prof. Dr.-Ing. Schneider]]
|}
|}
== Code Generation Requirements ==
The three most common code generation issues are solved with these preparation steps:
# Define function input variables.
# Preallocate arrays before indexing.
# Verify MATLAB Coder support.
To see what functions are supported for code generation, you can filter by C/C++ code generation in the documentation. Use the navigation on the left to find supported functions for different toolboxes.
== Nützliche Artikel ==
== Nützliche Artikel ==
* [https://www.mathworks.com/help/coder/gs/averaging-filter.html Generate C/C++ Code from a MATLAB Function]
* [https://www.mathworks.com/help/coder/gs/averaging-filter.html Generate C/C++ Code from a MATLAB Function]

Version vom 8. September 2024, 13:27 Uhr

Abb. 1: MATrix LABoratory (MATLAB®)
Autor: Prof. Dr.-Ing. Schneider

Code Generation Requirements

The three most common code generation issues are solved with these preparation steps:

  1. Define function input variables.
  2. Preallocate arrays before indexing.
  3. Verify MATLAB Coder support.

To see what functions are supported for code generation, you can filter by C/C++ code generation in the documentation. Use the navigation on the left to find supported functions for different toolboxes.

Nützliche Artikel