How to solve error in regression learner models?.
이전 댓글 표시

댓글 수: 6
Walter Roberson
2023년 10월 29일
RLax is empty after the findall()
Ahmed Eltantawi
2023년 11월 1일
Walter Roberson
2023년 11월 1일
If RLax is scalar then the get() will be a numeric array directly, but if it is nonscalar then it is a cell array
Ahmed Eltantawi
2023년 11월 2일
Walter Roberson
2023년 11월 2일
편집: Walter Roberson
2023년 11월 7일
Ahmed Eltantawi
2023년 11월 7일
답변 (1개)
Vatsal
2023년 12월 13일
0 개 추천
Hi,
I understand that you want to find figures and axes objects within a MATLAB application and then retrieve the “XData” and “YData” from the axes objects.
The first error you are encountering, "Unrecognized method, property, or field 'Children' for class 'matlab.graphics.GraphicsPlaceholder'", is likely due to RLax being empty. The second error, "Input #2 expected to be a cell array, was double instead", indicates that the variable is a double when it was expected to be a cell array. To resolve this, you can use the function "num2cell" to convert "X" and "Y" to cell array.
To learn more about the usage and syntax of ‘num2cell’ function, you can refer to the MathWorks documentation links below:
I hope this helps!
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
