Using RowFun as LookUp

Hello everybody,
i worked today the first time with the functions "RowFun" and it works really fine and it is faster then with a For-Loop.
daten.FINART = rowfun(@convertFinArt,params)
My problem is that i have to load a table for my lookUp Function.
function FinArt = convertFinArt(TAFIC, TART)
load('TAFIC_Tab.mat')
FinArt = TAFIC_Tab.FinArt(TAFIC_Tab.TAFIC==TAFIC & (TAFIC_Tab.TarifArt == TART|TAFIC_Tab.TarifArt ==0));
end
Is there a possibility to load the Table once and to transfer this table with params?
params = table(daten.TAVE,daten.TAVE_NR,'VariableNames',{'TAVE','TAVE_NR'})
The problem and my question is how, cause the params and this table doesn't fit.
Thank you for your help.

Respuestas (0)

La pregunta está cerrada.

Productos

Versión

R2019b

Etiquetas

Preguntada:

el 14 de Abr. de 2020

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by