How to use two dimensional arrays in legacy code?

조회 수: 1 (최근 30일)
Luis Ruiz
Luis Ruiz 2019년 7월 2일
편집: Luis Ruiz 2019년 7월 2일
I have a C function with a structure, inside the struct is a two dimensional array
typedef struct {
double my_array[3][3];
} my_struct;
The legacy code tool complains that it cannot accept the array with two dimensions, so I had to put the struct like
typedef struct {
double my_array[9];
} my_struct;
I was wondering if there is a way to use two dimensional arrays.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by