Skip to content

Add license to GitHub release #42

Description

@djmsampson

Problem

The MLTBX attached to a GitHub release contains the license file, but installing the toolbox in MATLAB does not display the license agreement or ask the user to accept it.

Expected behavior

The MATLAB installer should show the license agreement and require acceptance before installing the toolbox, including when the MLTBX was downloaded from a GitHub release.

Steps to reproduce

  1. Download the MLTBX from a GitHub release.
  2. Install it in MATLAB.
  3. Observe that no license prompt is displayed.

Activity

  1. added this to the v1.0.0 milestone on Nov 15, 2026
  2. added
    bug
    on Nov 15, 2026
  3. added theissue type on Nov 15, 2026
  4. djmsampson commented on Nov 18, 2026

    @djmsampson
    CollaboratorAuthor

    mlAddonGetLicense and mlAddonSetLicense are still present but undocumented in 26b. We can look at GUI Layout Toolbox for code to register the license.

    There is also a new option UseLicenseBSD in matlab.addons.toolbox.ToolboxOptions.

    Updated buildfile.m:

    • In 26b and later, use UseLicenseBSD
    • Prior to 26b, use mlAddonSetLicense
  5. added a commit that references this issue on Nov 18, 2026
    79af4d3
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

    bug

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions