array I/O with compiled MATLAB

We need to pass an array to compiled MATLAB code and have it return an array. Where do we find information about doing this?

2 Comments

In which way is it compiled? Is this through mcc, or is it Embedded Matlab, or is it Simulink with Real Time Workshop?
If it is mcc then the data type of the array will make a difference. Also, is the source array row-major (C-style) or column-major (Fortran-style) order? And is it complex?

Answers (1)

Kaustubha Govind
Kaustubha Govind on 18 Feb 2011
You need to create mxArrays - see an example here.

This question is closed.

Asked:

on 18 Feb 2011

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!