Simulink: loop problem with Lookup Table Dynamic

  • Follow


Is anybody familiar with this error ...?

Error in default port dimensions function of S-function untitled/eta. This function does not fully set the dimensions of input port 1

Simulink can't set correctly dimensions whenever the Lookup Table Dynamic is closed in some loop. Is there anyway to fix the first input dimension for thelookup table?
It works fin in open loop. 
0
Reply fake2336 5/21/2009 8:01:02 AM

"nicola " <fake@gmail.com> wrote in message <gv31nu$k5q$1@fred.mathworks.com>...
> Is anybody familiar with this error ...?
> 
> Error in default port dimensions function of S-function untitled/eta. This function does not fully set the dimensions of input port 1
> 
> Simulink can't set correctly dimensions whenever the Lookup Table Dynamic is closed in some loop. Is there anyway to fix the first input dimension for thelookup table?
> It works fin in open loop. 

just found out ... use Signal specification to fix dimension of input signal ...
0
Reply fake2336 5/21/2009 8:39:01 AM


Hey Nicola,

I am facing exactly the same issue. I am trying to solve a MATLAB Simulink model of a transformer. In that I have a look up table of Magnetizing Inductance (Y data) and Magnetizing current (X data) - both being 1X75 row vectors.

But when I close the loop to simulate the model, the Look-Up table automatically considers the input port 1 and output port 1's data types to be 1X75 vectors instead of being 1X1.

CAN YOU PLEASE ELABORATE ON WHAT DO YOU MEAN BY - using signal specification to declare the datatype ? 

From where do we get this 'Signal Specification' tab or block ?

Shantanav
0
Reply bhowmick (4) 7/18/2012 1:50:07 AM

I mean to say, what you do specify in this Signal Specification Block to ensure that the x and y axes of the Lookup Table Dynamic are of 1X1 dimensions ?
0
Reply bhowmick (4) 7/18/2012 2:08:31 AM

3 Replies
56 Views

(page loaded in 0.353 seconds)

Similiar Articles:











7/28/2012 6:32:51 PM


Reply: