Set Data Type of Inport Block

Hi,
I want to set the data type of an inport Block with specification (Type:Num between[Min Max[). but I don't find a way to do it. Thank you for the help.
Nedra.

Respuestas (1)

Nobel Mondal
Nobel Mondal el 30 de Mayo de 2015

0 votos

You can double click on the block and change the following values:

4 comentarios

Nobel Mondal
Nobel Mondal el 30 de Mayo de 2015
Also you can set it from the command prompt like this -
>> set_param('myModel/In1', 'OutDataTypeStr', 'double',...
'OutMin', '0.00', 'OutMax', '100.0');
Nedra Ebdelli
Nedra Ebdelli el 30 de Mayo de 2015
Thank you.
Nedra Ebdelli
Nedra Ebdelli el 2 de Jun. de 2015
Please can you help me with this question how can I differentiate the bounded interval and the non bounded interval for example [Min Max] and [Min..Max[.
Nedra.
It is possible With this Min and Max.
Sebastian Castro
Sebastian Castro el 2 de Jun. de 2015
From another one of your questions, I noticed that you are using Simulink Design Verifier. Wanted to let you know that the Min and Max specifications in the Inport block
  1. Do not limit the signal value in any way -- you want to use a Saturation block if you need to physically limit values.
  2. Are not used by Simulink Design Verifier for analysis. If you want to specify bounded vs. unbounded ranges, use Proof Assumption, Proof Objective, Test Condition , or Test Objective block (depending on whether you're doing property proving or test generation).
- Sebastian

Iniciar sesión para comentar.

Categorías

Más información sobre Simulink Design Verifier en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 30 de Mayo de 2015

Comentada:

el 2 de Jun. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by