Is there a way to log data acquired in External Mode?

One approach is to use STM32CubeMonitor with the code generated from PLECS. You will have to review the generated code in the .c file to find the relevant variable names to monitor. Also note that you cannot simultaneously have External Mode in PLECS and STM32CubeMonitor enabled simultaneously.