필터 지우기
필터 지우기

Error : Subscripting into an mxArray is not supported.

조회 수: 1 (최근 30일)
Yashraj
Yashraj 2014년 6월 12일
답변: Kaustubha Govind 2014년 6월 13일
Hi guys, I am trying to convert a .m file (script) in a .mex using Coder. I am fairly new to this.
an excerpt from the code I'm trying to work with :
1>>image = dlmread('course.txt'); % its nothing but a (2745,5) matrix.
2>>image(:,2) = 120.-image(:,2);
somehow at line two it gives this specific error : "Subscripting into an mxArray is not supported."
I think that , somehow mxArray function is not able to perform the matrix operations.
Can anyone try to explain what exactly is going on here and what can be a solution to this. I really appreciate help from you guys.
Thank you very much.

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2014년 6월 13일

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by