How to give input to the block 'model' in simulink
    8 views (last 30 days)
  
       Show older comments
    
I am working in matlab simulink.There are two parts of my work.one is about control systems and the other is about image processing.I want to link them such that the control system part only receives a scalar input from image processing part.So i want to use the 'model' block attached to the image processing part such that there is a scalar input to the model block.How can I use this 'model' block such that it has an input port as I donot see any input port to this block.Please guide me.
1 Comment
  Azzi Abdelmalek
      
      
 on 18 Sep 2012
				
      Edited: Azzi Abdelmalek
      
      
 on 18 Sep 2012
  
			what is your image processing model? a script?
Accepted Answer
  Kaustubha Govind
    
      
 on 18 Sep 2012
        I presume you mean that you have a Simulink model with control systems that you want to use with another Simulink model containing image processing operations? Does the model with the control algorithm have an Inport block? If yes, when that model is referenced from your image processing model using the "Model" block, the Inport block in the model automatically shows up as an input port to the Model block.
0 Comments
More Answers (0)
See Also
Categories
				Find more on Programmatic Model Editing 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!

