In MATLAB, you can right-click on a selection and use the "Evaluate Selection in Command Window" option from the context menu to execute the selected code. Right now, the only similar option in VS ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results