Running the weaved aspect on Matlab 2015b produces the following error:
At least one index is required.
Error in sparsity/sparsity_set (line 117)
t(args{(1 : numel(args))}) = newVal;
Error in myprogram>sum (line 33)
AM_GLOBAL.sparsity.sparsity_set(AM_CVar_5, x, 'x', {});
Error in myprogram (line 9)
AM_CVar_0 = sum(10, 12);
Running the weaved aspect on Matlab 2015b produces the following error: