Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Index a pointer being passed as a function argument

1 visualizzazione (ultimi 30 giorni)
Rusczak
Rusczak il 28 Giu 2017
Chiuso: MATLAB Answer Bot il 20 Ago 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!!

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by