Timeseries viewer does not open timeseries anymore in 2025a version.
29 ビュー (過去 30 日間)
古いコメントを表示
Timeseries viewer does not open timeseries anymore in 2025a version. Is there any entry level way for the first time users (other that export to Execl file) to show timeseries from all Simulink outport signals as a table? When I teach students who are supposed to use Simulink first time and do not have Matlab experiences, showing data which was created againts time points is quite crucial. But if we have to built separate tables of each outport signal and try to align them to the Editor area it will be embarrasing. But I haven't found any working solution to this simple problem. This was not a problem untill 2025a version came.
3 件のコメント
回答 (1 件)
Nidhi
2025 年 10 月 16 日 10:22
Hi Tero Eerikäinen,
Since the Timeseries Viewer is unavailable in R2025a, here’s a simple way for beginners to view all Simulink outport signals as a time-aligned table directly in MATLAB, without exporting to Excel:
1.Use logsout and tout to Create a Table in MATLAB
If you log signals using the "To Workspace" block or enable Signal Logging, you can use the following approach:
time = logsout.getElement(1).Values.Time;
T = table(time, 'VariableNames', {'Time'});
for i = 1:logsout.numElements
signalName = logsout.getElement(i).Name;
signalData = logsout.getElement(i).Values.Data;
T.(signalName) = signalData;
end
disp(T)
This creates a clean table with time and all outport signals aligned.
2. Use the Playback Block (New in R2025a)
The new Playback block supports viewing signal data in a table format directly inside Simulink:
- Add a Playback block and connect it to your logged signals.
- On the Simulation tab, click "Show Table".
- You will see a split view with sparklines and a data table.
- You can toggle signals, inspect data with cursors, and even interpolate missing values.
This is a great visual tool for beginners and doesn’t require MATLAB scripting. For more information please refer to this documentation : https://www.mathworks.com/help/simulink/ug/load-data-using-playback-block.html
Hope this is helpful!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Time Series についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!