mxarray error

given below is a part of the code i am writing for kalman filter but got error while converting from .m to .c/.c++
>> white_gauss=wgn(1,37000,20); q1=cov(white_gauss); q2=cov(white_gauss); q3=cov(white_gauss);
%declaration of priori values loop_count=12; L=loop_count; Q=[q1(L) q2(L) q3(L)] >>> and got following error while converting from .m to .c using matlab coder.
"Subscripting into an mxArray is not supported. "
>>how to avoid it?

Answers (1)

Kaustubha Govind
Kaustubha Govind on 10 Aug 2011
Moved: Sabin on 25 Jan 2024

0 votes

This is a duplicate of http://www.mathworks.com/matlabcentral/answers/13297-subscripting-into-an-mxarray
Please delete this question.

This question is closed.

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Tags

Asked:

on 6 Aug 2011

Moved:

on 25 Jan 2024

Community Treasure Hunt

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

Start Hunting!