Embedded Coder reusable function input order

3 ビュー (過去 30 日間)
Matteo Corno
Matteo Corno 2013 年 7 月 23 日
Hi.
I am working with a team from another university writing some code that they need to integrate in the firmware for a micro controller. They are responsible for the low level firmware; I am responsible for the high level code. We agreed on an interface according to which the low level code would call my Simulink blocks compiled as resuable functions. I created an empty stub for each function so they would know the header for the reusable function and prepare the interface.
The issue is that depending on what I actually implement in the Simulink blocks the order of the parameters of the compiled reusable function changes. Is there a way to force/specify the order of the input parameters? This way I would be able to freely work on my Simulink code without messing the interface.
I am using 8.0.0.783 (R2012b)
Thanks for the support.
Matteo

回答 (0 件)

カテゴリ

Help Center および File ExchangeConfigure and View Diagnostics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by