Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Index a pointer being passed as a function argument

1 vue (au cours des 30 derniers jours)
Rusczak
Rusczak le 28 Juin 2017
Clôturé : MATLAB Answer Bot le 20 Août 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!!

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by