How to create signals in data dictionary using excel sheet?

9 vues (au cours des 30 derniers jours)
aditya nimbalkar
aditya nimbalkar le 22 Juin 2020
Réponse apportée : Suman le 25 Oct 2024
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 commentaire
Priyanka udatha
Priyanka udatha le 19 Mar 2023
Hi, did you find the answer for it. If yes, just let me know please

Connectez-vous pour commenter.

Réponses (1)

Suman
Suman le 25 Oct 2024
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

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by