フィルターのクリア

Oracle query and rowfun Function usage

1 回表示 (過去 30 日間)
Rajesh Sinha
Rajesh Sinha 2014 年 8 月 13 日
編集済み: Rajesh Sinha 2014 年 8 月 13 日
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.

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Report Generator についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by