Simple integration with C-MEX functions

1 回表示 (過去 30 日間)
Zangdaarr
Zangdaarr 2015 年 2 月 1 日
Hi,
I want to code a very simple simulink model in a C-MEX S-Function but I haven't done this in a very long time and I am stucked with integration.
So my model would be the following:
A constant block with -9.8 value, an 1/s integrator, and an output.
How should I code this ?
Thanks

回答 (0 件)

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by