Simulink Lookup Table Dynamic

  • Follow


I am building a library of models to be used in multiple
applications. The library uses dynamic lookup tables extensively.

Each application which uses the library will have different x,y axis
dimensions. One application may have 10 points another 50 points.

So, the model inport dimensions for the x,y axis inputs to the
dynamic lookup are set to -1 (inherited).

However the input X to the lookup table is always dimension 1.

When I run the simulation I get "Error in port widths or dimensions"
The x,y axis are expecting port widths of 1 instead of the width of
the vector I have at the inport (10 or 50 points). It seems the x,y
axis are inherting their dimensions form the input X to the lookup
table which is always 1 as opposed to the x,y axis data.

Has anyone had this problem?? Is there a way to make this work??

THANKS FOR ANY INPUT!!!!
0
Reply darren.hartman (2) 9/28/2006 9:42:30 PM

"Darren Hartman" <darren.hartman@huscointl.com> wrote in message <ef4264e.-1@webcrossing.raydaftYaTP>...
> I am building a library of models to be used in multiple
> applications. The library uses dynamic lookup tables extensively.
> 
> Each application which uses the library will have different x,y axis
> dimensions. One application may have 10 points another 50 points.
> 
> So, the model inport dimensions for the x,y axis inputs to the
> dynamic lookup are set to -1 (inherited).
> 
> However the input X to the lookup table is always dimension 1.
> 
> When I run the simulation I get "Error in port widths or dimensions"
> The x,y axis are expecting port widths of 1 instead of the width of
> the vector I have at the inport (10 or 50 points). It seems the x,y
> axis are inherting their dimensions form the input X to the lookup
> table which is always 1 as opposed to the x,y axis data.
> 
> Has anyone had this problem?? Is there a way to make this work??
> 
> THANKS FOR ANY INPUT!!!!


Hellozz Darren,

I know it's been a while since you had posted this message. But guess what, now I am facing exactly the same problem.

I am trying to model a transformer and for the core modeling (magnetizing inductance (Y data) VRS magnetizing current (X data)), I am using a Lookup Table Dynamic block.

Both these vector in my case are 1X75 (row vectors), but when I try to simulate the model, the x and y axes values are inheriting a vector data type of 1X75 instead of being 1X1.

Have you found a solution to the problem yet?
0
Reply bhowmick (4) 7/18/2012 1:43:29 AM


1 Replies
21 Views

(page loaded in 0.128 seconds)











6/20/2013 3:11:48 AM


Reply: