Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Index a pointer being passed as a function argument

1 Ansicht (letzte 30 Tage)
Rusczak
Rusczak am 28 Jun. 2017
Geschlossen: MATLAB Answer Bot am 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!!

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by