I am discharging a battery unity with Simulink and an STM32. I am collecting voltage and current data from the discharge with the Monitoring and Tunning option in Simulink with a simulation time of 3600 seconds. I can clearly see the values of voltages and currents in my Display blocks. I can also clearly see the evolution of the data with time in my Scope block. I am using a To Workspace block to pass the data from Simulink to MatLab. My To Workspace blocks are called Voltage and Courant (for currents). I have tried all the save formats proposed by the block to pass my data from Simulink to MatLab and nothing works... My To Workspace sampled time is 1 second. I would like if anyone could help me with this problem.
Best regards, Katéri Tremblay