How to keep timetable variable name after imported to SDI
2 ビュー (過去 30 日間)
古いコメントを表示
I have a timetable with multiple columns (variables). Some of them are one dimension in each time step, some are 3 by 1, and some are 3 by 3.
When I imported to SDI, I only see all of them are using my timetable name.
How can I add the timetable into the SDI (using the command) and keep the variable name?
0 件のコメント
採用された回答
Sugandhi
2023 年 9 月 22 日
Hi,
I understand that you want to add the timetable into the SDI (using the command) and keep the variable name.
On of the possible ways to achieve this could be using ‘add(runObj,'vars',var,var2,...,varn)’, with which you can import data from one or more variables into the Simulation Data Inspector by adding one or more signals to the run that corresponds to the specified Run object. To get variable names in timetable ‘myTimetable’ use
variableNames = myTimetable.Properties.VariableNames;
For more understanding, kindly go through following link:
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Spectral Measurements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!