specify Simulink block parameters from Excel cells
    4 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Mat Nub
 el 4 de Mzo. de 2014
  
    
    
    
    
    Comentada: Srinivas
      
 el 18 de Mzo. de 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 comentarios
Respuesta aceptada
  Srinivas
      
 el 4 de Mzo. de 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 comentarios
Más respuestas (1)
Ver también
Categorías
				Más información sobre Data Import from MATLAB en Help Center y File Exchange.
			
	Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

