Matrix declaration in legacy code

1 view (last 30 days)
Luis Ruiz
Luis Ruiz on 20 May 2019
How to use declared C matrices double[3][3] in, legacy code.
In the documentation it is specified that matrices should be declared as vectors:
  • double matrix[];
  • double *matrix;
  • double matrix[3];
But, those that mean that declaration like
  • double matrix[][];
cannot be used at all?

Answers (0)

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!