MATLAB Answers

How to give input to the block 'model' in simulink

5 views (last 30 days)
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
Azzi Abdelmalek on 18 Sep 2012
what is your image processing model? a script?

Sign in to comment.

Accepted Answer

Kaustubha Govind
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.

More Answers (0)

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!