How to link a plot or continous data from M-file to Simulink Model
    4 次查看(过去 30 天)
  
       显示 更早的评论
    
    chittaranjan pradhan
 2012-12-27
  
    
    
    
    
    评论: chittaranjan pradhan
 2014-1-23
            I have done a wind turbine Model. In M-file ,I have written the code of the wind power characteristics for different wind speed with respect to rootr speed. Please, help me ..How can I link the wind speed (Wind~Time graph)from M-file to Simulink Model??
   When I used "Sim..." command only latest data came. Here, The wind Speed~Time is a continuous graph or data.So, How can I call the continuous datas or graph from the M-file to Simulink Model.
0 个评论
采纳的回答
  Muruganandham Subramanian
      
 2012-12-27
        
      编辑:Muruganandham Subramanian
      
 2012-12-27
  
      Have you tried with From workspace block?
更多回答(1 个)
  Azzi Abdelmalek
      
      
 2012-12-27
        
      编辑:Azzi Abdelmalek
      
      
 2012-12-27
  
      You can use from file or from workspace block
Example
t=0:0.1:10
y=sin(t)
ty=[t' y']
then set the value of your from workspace block to ty
另请参阅
类别
				在 Help Center 和 File Exchange 中查找有关 Simscape Electrical 的更多信息
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


