Matlab Function Report for System Objects

2 ビュー (過去 30 日間)
Georg Nestlinger
Georg Nestlinger 2022 年 10 月 17 日
コメント済み: Georg Nestlinger 2024 年 10 月 8 日
For Matlab Functions I find it very convenient to get insights via the code generation report which is easily accessible from the Matlab Function editor via "View Report" (in 2019b).
Now it would be very nice to also show this report for code implemented as a Matlab System Object. One way to achieve this is to embedd the system object via a Matlab Function an then click "View Report". Unfortunately, it can be quite annoying to pass all required arguments first to the Matlab Function and from there, to the System Object. So, is there an easier way?

回答 (1 件)

Akash
Akash 2024 年 10 月 8 日
Hi Georg,
To generate C/C++ code from MATLAB that includes System Objects, you can utilize MATLAB Coder. This allows you to incorporate System Objects in your MATLAB code just like any other elements. For detailed information on how to include System Objects in the generated code, you can refer to the following documentation:
  1 件のコメント
Georg Nestlinger
Georg Nestlinger 2024 年 10 月 8 日
Thanks for your answer, although this does not refer to my question.
My question was: What is the easiest way to show a Matlab Function Report (https://www.mathworks.com/help/releases/R2024b/simulink/ug/matlab-function-reports.html) for a System Object?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeReporting and Database Access についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by