specify Simulink block parameters from Excel cells
2 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Srinivas
on 4 Mar 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 Comments
More Answers (1)
See Also
Categories
Find more on Sources in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!