Skip to content

Catch errors due to nargout mismatch #26

Description

@balbasty

It's quite tricky automatically setting nargout for functions that return varargout (e.g. spm_jobman).

Would there be a way to catch the error raised by matlab when nargout is greater than the content of varargout, and change nargout accordingly?

Alternatively, for big function wrappers like spm_jobman, can we get a smarter per action default?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions