Why does "createComponentAsModel" throw an ARXML importer error due to "GetEventFailed" in MATLAB R2023b?
    2 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    MathWorks Support Team
    
 il 19 Dic 2023
  
    
    
    
    
    Risposto: MathWorks Support Team
    
 il 14 Giu 2024
            I am using "CreateComponentAsModel" to generate a Simulink file from an ARXML file in MATLAB R2023b, and I am getting the following error:
Error using arxml.importer/createComponentAsModel
Unable to import port operation '/some_path_name/GetEventFailed' as it is not
available in the schema version R20-11.
I did not receive this error in MATLAB R2022b when importing the same file. How can I work around this error?
Risposta accettata
  MathWorks Support Team
    
 il 19 Dic 2023
        This in intended behavior. The operation "GetEventFailed" is not present in the R20-11 version of the schema. Instead of using "GetEventFailed", use an operation that is present in the R20-11 schema. In this case, "GetEventUdsStatus" is the closest operation. Extract the 0x01 bit from the output of "GetEventUdsStatus".
0 Commenti
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su AUTOSAR Blockset in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
