Code Generation is slow, callbacks call in Simulink take's more than 3 seconds, specially for the ADC Blocks
For example, I create a new Project (either Matlab 2018a or 2019a using previous STM32mat or latest STM32mat 5.1.0 using cube 4.23 or either cube 5.1.0), Chose for example a STM32F4 discovery board, activate ADC Channels create a new Simulink model and ADC Block)
tic;ADC_Read_callback('Ch1');toc
takes for active channels more than 3 seconds, for inactive channels 0.016 second which would be ok
For a complex System Code Generation takes 5 minutes, most of the time is updaten callbacks of the ADC Registers.
I am doing something wrong or it is normal that it takes so much time?
Many thanks *** nice regards
Jaume
