필터 지우기
필터 지우기

Can I use variables to define input port dimensions?

조회 수: 2 (최근 30일)
William Chavez
William Chavez 2014년 1월 8일
When I use "ml.constant" to define 'Port dimensions' (in this case an Inport), I get an error when I run it. Error evaluating parameter 'PortDimensions' in '<path>' Undefined variable "ml" or class "ml.constant".
When I use "constant" to define 'Port dimensions', I get an error when I click on the 'Apply' button. Error:Error invoking object method Dimensions specified in '<path>' are invalid. Dimensions must be -1 (inherited) or a non-empty vector of strictly positive integers.
I know that the value "constant" is a valid workspace variable, and I am able to use it elsewhere.

답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by