Hi:
Recently I am using the chip 5744p with MBDT. Limited by interrupt interval, I can not perform a particularly large number of functions in the interrupt function.
I want to know, for simulink code generation, is there any way to improve the execute efficiency of the genrated code, that is, speed it up?
 
					
				
		
 Daniel_Popa
		
			Daniel_Popa
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi ppap,
There are 3 approaches:
#1: enable optimizations from Simulink code generation:
 
#2: enable optimization in Target Compiler
#3: re-design the Simulink model to remove unnecessary conversion/blocks etc: Something like this: https://community.nxp.com/message/902741#comment-902849
Hope this helps!
Daniel
