This issue is with Matlab 2022b
I am using Simulink Real-time with a SpeedGoat HiL system, when we are running the model in real-time and viewing the logged data in Simulink Data Inspector (SDI), all signals are correctly using the same time/x-axis. We are usually starting/stopping logs, so the test run rarely starts at 0seconds.
However, when we export the data (to mat file) and reload into a new instance of Matlab (ie on another laptop), we notice that for a few signals, the time vector starts at zero, see screenshot below:
The signal on the right hand side, is the correct time axis, and most other signals use this – but for the signal on the left, the time vector is reset to zero.
I have checked the signal properties in the model and the both look the same.
If anyone could help with this issue it would be most appreciated.This issue is with Matlab 2022b
I am using Simulink Real-time with a SpeedGoat HiL system, when we are running the model in real-time and viewing the logged data in Simulink Data Inspector (SDI), all signals are correctly using the same time/x-axis. We are usually starting/stopping logs, so the test run rarely starts at 0seconds.
However, when we export the data (to mat file) and reload into a new instance of Matlab (ie on another laptop), we notice that for a few signals, the time vector starts at zero, see screenshot below:
The signal on the right hand side, is the correct time axis, and most other signals use this – but for the signal on the left, the time vector is reset to zero.
I have checked the signal properties in the model and the both look the same.
If anyone could help with this issue it would be most appreciated. This issue is with Matlab 2022b
I am using Simulink Real-time with a SpeedGoat HiL system, when we are running the model in real-time and viewing the logged data in Simulink Data Inspector (SDI), all signals are correctly using the same time/x-axis. We are usually starting/stopping logs, so the test run rarely starts at 0seconds.
However, when we export the data (to mat file) and reload into a new instance of Matlab (ie on another laptop), we notice that for a few signals, the time vector starts at zero, see screenshot below:
The signal on the right hand side, is the correct time axis, and most other signals use this – but for the signal on the left, the time vector is reset to zero.
I have checked the signal properties in the model and the both look the same.
If anyone could help with this issue it would be most appreciated. simulink data inspector, time series MATLAB Answers — New Questions
