Borrar filtros
Borrar filtros

Oracle query and rowfun Function usage

1 visualización (últimos 30 días)
Rajesh Sinha
Rajesh Sinha el 13 de Ag. de 2014
Editada: Rajesh Sinha el 13 de Ag. de 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.

Respuestas (0)

Categorías

Más información sobre MATLAB Report Generator en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by