Error using arxml.impo​rter/updat​eModel Invalid or deleted object.

5 visualizaciones (últimos 30 días)
Tommaso
Tommaso el 4 de Mzo. de 2024
Comentada: Manikanta Aditya el 5 de Mzo. de 2024
Error when using command "updateModel".

Respuestas (1)

Manikanta Aditya
Manikanta Aditya el 4 de Mzo. de 2024
Hi Tommaso,
From the error message it seems like there is an error realted to the 'updateModel' function in MATLAB's AUTOSAR package.
Here are few thing you could check to fix the issue:
1.) Object Validity: Ensure that the 'arxml.importer' object and the model you're trying to update are both valid and not deleted.
2.) Model Open: The model you're trying to update should be open.
3.) ARXML Changes: The XML files associated with the arxml.importer object must contain the AUTOSAR software component mapped by the model.
To know about the 'updateModel' function do check this reference: Update AUTOSAR model with ARXML changes - MATLAB updateModel (mathworks.com)
Try checking these possible things.
Thanks!
  4 comentarios
Tommaso
Tommaso el 5 de Mzo. de 2024
This is the result of 'updateAUTOSARProperties' with ReadOnly equal to 'false'.
Manikanta Aditya
Manikanta Aditya el 5 de Mzo. de 2024
I would suggest you to contact MathWorks technical support team for this issue.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by