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

2 vues (au cours des 30 derniers jours)
Beenish Mazhar
Beenish Mazhar le 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 commentaire
Azzi Abdelmalek
Azzi Abdelmalek le 18 Sep 2012
Modifié(e) : Azzi Abdelmalek le 18 Sep 2012
what is your image processing model? a script?

Connectez-vous pour commenter.

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Computer Vision with Simulink dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by