jamesjuett / MatCrab

A program visualization tool for Matlab
GNU Lesser General Public License v3.0
0 stars 0 forks source link

IndexedAssignment behavior differs from MATLAB #5

Open jamesjuett opened 5 years ago

jamesjuett commented 5 years ago

In MatCrab, indexed assignment gives an error if the target variable does not exist, or if the target is a function rather than a variable.

In MATLAB, the variable will be created if it does not exist. If there is a function with the same name as the target, it is shadowed by the newly created variable.