Skip to content

[BUG] Matlab 2017a nargout bug #86

Description

@Nabarb

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

  • OS: Win-64 (64-bit)
  • Matlab Version: R2017* and maybe later as well. 2019b and 2020 are not affected.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions