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.

 Accepted Answer

DON'T DO THIS. See question 1 in the Programming section of the FAQ for an explanation why this is a Bad Idea and alternatives you should use instead.

More Answers (0)

Categories

Asked:

on 7 Jul 2015

Edited:

on 19 Jun 2019

Community Treasure Hunt

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

Start Hunting!