specify Simulink block parameters from Excel cells
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mat Nub
am 4 Mär. 2014
Kommentiert: Srinivas
am 18 Mär. 2014
I have a Simulink model containing over 300 unit delay blocks. So manually entering sample times is arduous process (copy/paste does not help as sample time differ from block to block). Is there any way for blocks to call sample times from a xls spreadsheet? If not directly from xls could this be done at least from Matlab workspace?
My thinking is to map the blocks in the model as cells in xls and then whatever changes happen in xls model will pickup and put in appropriate block.
0 Kommentare
Akzeptierte Antwort
Srinivas
am 4 Mär. 2014
Yes it can be done from the work space. Declare a parameter for each sample time and define it in your work space.
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!