Using RowFun as LookUp
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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.
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!