mxarray error

4 views (last 30 days)
ECE09 ITBHU
ECE09 ITBHU on 6 Aug 2011
Moved: Sabin on 25 Jan 2024
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
This is a duplicate of http://www.mathworks.com/matlabcentral/answers/13297-subscripting-into-an-mxarray
Please delete this question.

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!