フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Index a pointer being passed as a function argument

1 回表示 (過去 30 日間)
Rusczak
Rusczak 2017 年 6 月 28 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi,
I'd like to generate the following C code structure using Simulink:
function ( arg1, *arg2) {
int index;
loop { anotherLocalVar = arg2[index]; index++ }
}
How can I receive an unknown dimension variable and index it?
Simulink coder wants me to define the dimension.
Is there any workaround for this?
Thanks!!

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by