Dot indexing error while using arxml.importer

Hello,
I'm using the following code :
arxml={uigetfile('.arxml')};
xml=arxml.importer(arxml{1});
But I have the following error :
Dot indexing is not supported for variables of this type.
Could you please help me ?

답변 (1개)

Mann Baidi
Mann Baidi 2023년 11월 10일

0 개 추천

Hi Yuan,
I understand you are facing issue in importing the “arxml” file using the “arxml.importer” function. This is because you are initializing a cell variable named “arxml” in your script which has the same name as “arxml” class. And cell variable does not support dot indexing.
I would like to suggest try using some other name for the cell variable in your script instead of “arxml”.
Hope this helps in resolving the query.

카테고리

도움말 센터 및 File Exchange에서 MATLAB Coder에 대해 자세히 알아보기

제품

릴리스

R2018b

태그

질문:

2023년 11월 8일

답변:

2023년 11월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by