Filter löschen
Filter löschen

Oracle query and rowfun Function usage

1 Ansicht (letzte 30 Tage)
Rajesh Sinha
Rajesh Sinha am 13 Aug. 2014
Bearbeitet: Rajesh Sinha am 13 Aug. 2014
hi Teeam,
I have new to the matlab and we have requirement here. I am running query using oracle database. For each row data(5 columns), I will call another function which will run another query internally using those row data. But output for each single row will be a column of multiple rows. I am using rowfun and an getting below error. Please help me out.
p_returns = rowfun(@Func,T(1,:)); -- sending only row for time being
but i am getting below error :
Error using table/rowfun (line 256) The function 'Func' returned an output with more than one row when applied to the 1st row in A.
Error in sharpe_ratio2 (line 63) p_returns = rowfun(@Func,T(1,:));
Can rownfun does not take multirow output for single row input.

Antworten (0)

Kategorien

Mehr zu MATLAB Report Generator finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by