I want to assign a complete array of unknown length of values each to a separate variable. I'm using the 'deal' function now, but an expression can't be inserted in that function.
Show older comments
t = num2cell([FrameNumbersEvents]); n = numel(FrameNumbersEvents); out = sprintf('x%u,', 1:n); [(out)] = t{:}
1 Comment
Accepted Answer
More Answers (0)
Categories
Find more on Variables 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!