How do i import signal names from a excel database( a CAN database) for usage in Simulink simulations
Afficher commentaires plus anciens
Hello, I have a database of hundreds of signals and I have the signal name field available in the excel format. I need to selectively use the signals ( signal names) in a SIMULINK simulation - how do I do it? I have tried excel import and data import , but they only import the signal values! not the signal names - in my case I will just need the signal names and then specify any test values across that signal names.
Hope I will get an answer soon.
Réponses (1)
Srinivas
le 8 Avr 2014
did you look at 'xlsread'
[num,txt,raw,custom] = xlsread(filename,sheet,xlRange,'',functionHandle)
this should read the signal names
3 commentaires
Srinivas
le 8 Avr 2014
If I understand correctly, you want to read the signal names from an excel sheet and use some of those values as names of your "inports" and "outports".
Vijay Ganti
le 9 Avr 2014
Srinivas
le 9 Avr 2014
it is still confusing what you are trying to achieve, are you trying to use a script to build your Simulink model. Can you show us a sample of what you did or what you tried so that we get a better picture.
Catégories
En savoir plus sur Sources dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!