Simulink® Coder™ (旧 Real-Time Workshop®) は、Simulink モデル、Stateflow® チャートおよび MATLAB® 関数から C と C++ コードを生成し、実行します。生成されたソース コードは、シミュレーションの高速化、ラピッド プロトタイピング、およびハードウェアインザループ テストを含むリアルタイムと非リアルタイムのアプリケーションで使用できます。Simulink を使用して生成コードの調整やモニターを行ったり、MATLAB と Simulink の環境外でコードを実行し、対話的に使用できます。
Simulink Coder の基礎を学ぶ
コード生成におけるモデルのコンポーネント化、階層および実行順序の考慮事項
ソフトウェアの統合を容易にするためのデータと関数のコード生成の設定
C/C++ コード生成とデバッグ、レポート生成
実行可能プログラムと共有ライブラリの配布
メモリ使用量の削減、生成されたコードの実行速度の向上
モデルと生成されたコードのシミュレーション結果の比較
サードパーティ製ハードウェアのサポート
Software is inherently complex and is not free of errors. The output of a code generator might contain bugs, some of which are not detected by a compiler. MathWorks reports critical known bugs brought to its attention on its Bug Report system at www.mathworks.com/support/bugreports/. In the search bar, type the phrase "Incorrect Code Generation" to obtain a report of known bugs that produce code that might compile and execute, but still produce wrong answers. To save a search, click Save Search.
The bug reports are an integral part of the documentation for each release. Examine periodically all bug reports for a release, as such reports may identify inconsistencies between the actual behavior of a release you are using and the behavior described in this documentation.
In addition to reviewing bug reports, you should implement a verification and validation strategy to identify potential bugs in your design, code, and tools.