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

1 Ansicht (letzte 30 Tage)
Beenish Mazhar
Beenish Mazhar am 18 Sep. 2012
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 Kommentar
Azzi Abdelmalek
Azzi Abdelmalek am 18 Sep. 2012
Bearbeitet: Azzi Abdelmalek am 18 Sep. 2012
what is your image processing model? a script?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Weitere Antworten (0)

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by