Are the options 'TargetFunctionLibrary' and 'CodeReplacementLibrary' the same ?
    3 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Roland Pfister
 am 26 Apr. 2023
  
    
    
    
    
    Beantwortet: Muskan
    
 am 16 Mai 2023
            In model adivor for the check  
Check for blocks not recommended for MISRA C:2012
I get a warning, that option for code replacement library ist not set correctly.
We use an m-file to set the configuration. Within this m-file we set the configuration for the option 'TargetFunctionLibrary', but I do not find any help or reference within Matlab, but it seems this option has the same effect like the option  'CodeReplacementLibrary' .
So maybe the options are identical ?
0 Kommentare
Akzeptierte Antwort
  Muskan
    
 am 16 Mai 2023
        Hi Roland,
As per my understanding of the question, no, the 'TargetFunctionLibrary' and 'CodeReplacementLibrary' options in MATLAB are not the same.
The 'TargetFunctionLibrary' option is used to specify the library of target-specific functions used in generated code, while the 'CodeReplacementLibrary' option specifies the library of code replacements used to optimize the generated code. These options serve different purposes and are used in different contexts to optimize generated code.
You can refer to the following documentation for a better understanding:
Thanks
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Simulink Coder finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!