Effacer les filtres
Effacer les filtres

Oracle query and rowfun Function usage

1 vue (au cours des 30 derniers jours)
Rajesh Sinha
Rajesh Sinha le 13 Août 2014
Modifié(e) : Rajesh Sinha le 13 Août 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.

Réponses (0)

Catégories

En savoir plus sur MATLAB Report Generator dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by