Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Index a pointer being passed as a function argument

1 visualización (últimos 30 días)
Rusczak
Rusczak el 28 de Jun. de 2017
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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!!

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by