Azzera filtri
Azzera filtri

Is there a way to include variable size lookup tables in an S-Function

1 visualizzazione (ultimi 30 giorni)
Hi,
lets assume I have the following subsystem:
and the lookup table has breakpoints and data of 1x12 size. I can easily build an S-function of this subsystem and change the tuning of the subsystem if I stick to this size, but when I increase/decrease it, I get an error regarding the size of the matrix. Of course, this is a simple example, because in the system that I want to apply it I have 100+ lookup tables that I cannot know their size apriori (they are calibrateable tables). I thought that a way to go around this is to assume a maximum table size, build the S-function based on this and then when using the S-function fill the rest of the data with zeros. However, as you can imagine having too many tables will make this task exhausting.
So my question is; is there a way to overcome this difficutly, so that the s-function can see whichever size of table I will give it to it?

Risposte (0)

Categorie

Scopri di più su Block and Blockset Authoring in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by