How to return a structure from c code in MATLAB function block of simulink (not c caller function)

Hi all, How to return a structure from c code in MATLAB function block of simulink (not c caller function). Thanks in advance. Karthik R

回答 (1 件)

BhaTTa
BhaTTa 2025 年 4 月 17 日
編集済み: BhaTTa 2025 年 4 月 17 日
as an alternative to MATLAB function block you can also make use of C function block to model your system, refer to one such example below:

カテゴリ

ヘルプ センター および File ExchangeSimulink Functions についてさらに検索

質問済み:

2019 年 10 月 23 日

編集済み:

2025 年 4 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by