Borrar filtros
Borrar filtros

Dot indexing error while using arxml.importer

2 visualizaciones (últimos 30 días)
Yvan
Yvan el 8 de Nov. de 2023
Respondida: Mann Baidi el 10 de Nov. de 2023
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 ?

Respuestas (1)

Mann Baidi
Mann Baidi el 10 de Nov. de 2023
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.

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by