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

1 回表示 (過去 30 日間)
Karthik R
Karthik R 2019 年 10 月 23 日
編集済み: BhaTTa 2025 年 4 月 17 日
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:

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by