Getting multiple outputs of a function in Matlab - Stack Overflow
https://stackoverflow.com/questions/47442533/getting-multiple-outputs-of-a-function-in-matlab
WebNov 22, 2017 · 1 Answer. Sorted by: 1. Don't create those dynamic variables. Just use: D = detcoef(c,l,1:k); This will create a cell array having the same contents as of cd1, cd2, ..., cdk at its 1st, 2nd, ..., kth index respectively. Access them using D{1}, D{2} ,..., D{k} respectively. edited Nov 22, 2017 at 20:08. answered Nov 22, 2017 at 19:38. Sardar Usama.
DA: 74 PA: 7 MOZ Rank: 7 Up or Down: Up