This happens when a method is called with "dot" reference and is caused by the builtin numArgumentsFromSubscript not behaving as expected. Instead of returning the correct nargout it basically returns numel(nigelObj) creating all sorts of problems, such as "the too many output args" when calling tankObj.nigelDash from base.
Release or Branch
All of them.
Machine
OS: Win-64 (64-bit)
Matlab Version: **R2017*** and maybe later as well. 2019b and 2020 are not affected.
Bug Report
Description
This happens when a method is called with "dot" reference and is caused by the builtin numArgumentsFromSubscript not behaving as expected. Instead of returning the correct nargout it basically returns numel(nigelObj) creating all sorts of problems, such as "the too many output args" when calling tankObj.nigelDash from base.
Release or Branch
All of them.
Machine