Clear Filters
Clear Filters

Oracle query and rowfun Function usage

1 view (last 30 days)
Rajesh Sinha
Rajesh Sinha on 13 Aug 2014
Edited: Rajesh Sinha on 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.

Answers (0)

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!