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

Antworten (1)

BhaTTa
BhaTTa am 17 Apr. 2025
Bearbeitet: BhaTTa am 17 Apr. 2025
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:

Kategorien

Gefragt:

am 23 Okt. 2019

Bearbeitet:

am 17 Apr. 2025

Community Treasure Hunt

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

Start Hunting!

Translated by