Matlab Error : The variable's value is being used both directly and after a transformation. Only one of these usages is permitted for any given variable

조회 수: 1 (최근 30일)
Can any one give me and explanation about the Error shown by Matlab ?
I am trying to use Do-While block and and in the condition input , i have given an constant block ( with a parameter name in it )
When i try to update a model ( from library model ) , i am getting this Error.
Am i missing out on any point ?
Thanks Ajay
  댓글 수: 2
Ajay Pherwani
Ajay Pherwani 2013년 3월 5일
ok , thanks. The problem was , i was using a parameter (CONSTANT BLOCK) at 3 different places in the model , at two places its was being used as 'uint16' and at one place , it was having a data type as 'int16' in the block properties of the Constant Block .
And also in the work space it was declared as 'uint16'
Thanks for the help

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Event Functions에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by