How to create signals in data dictionary using excel sheet?

조회 수: 13 (최근 30일)
aditya nimbalkar
aditya nimbalkar 2020년 6월 22일
답변: Suman 2024년 10월 25일
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
Priyanka udatha
Priyanka udatha 2023년 3월 19일
Hi, did you find the answer for it. If yes, just let me know please

댓글을 달려면 로그인하십시오.

답변 (1개)

Suman
Suman 2024년 10월 25일
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

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by