How to create signals in data dictionary using excel sheet?
16 次查看(过去 30 天)
显示 更早的评论
If i have an excel sheet containing information about 100 signals, i.e first column consist of signal name, second for data type, third for storage type likewise each column consist of value for parameter for signal. How can build simulink data dictionary consisiting of these 100 signals from excel sheet?
1 个评论
回答(1 个)
Suman
2024-10-25,9:32
Hi Aditya,
You can use the 'readtable' function to read data from the Excel sheet and then create and Signal object and store it in a data dictionary. Please refer to this documentation to see a code example: https://www.mathworks.com/help/simulink/ug/store-data-in-dictionary-programmatically.html#buqnd8c-1
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!