n-D dynamic lookup tables
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 16 Set 2020
Risposto: MathWorks Support Team
il 16 Set 2020
I would like to make a Simulink block that includes an N-D Table Lookup block, and have that blocks 'table' and 'breakpoints' values set from input ports of the containing block. Is that possible?
Currently I set the lookup table table and breakpoint values from workspace variables, referenced by name. I can change the table and breakpoint values by operations in the (Base) workspace. I would like my model to compute a new table/breakpoint set and use those values in the lookup table block, but without involving the Base workspace at all - that is, to treat the table and breakpoint values as N-D and vector signals in the model.
Risposta accettata
MathWorks Support Team
il 16 Set 2020
As of R2020b, the “n-D Lookup Table” block has been enhanced to accept breakpoints and table parameters via input ports as well as the block dialog. This allows you to easily create dynamic, multidimensional lookup tables by passing parameters in as signals for up to three dimensions.
Refer to the following MATLAB Answers article for workarounds in older releases:
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Nonlinearity in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!