Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Index a pointer being passed as a function argument

1 view (last 30 days)
Rusczak
Rusczak on 28 Jun 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
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!!

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!