Skip to content

Support double‑clicking MATLAB-related files in VS Code Explorer #352

Description

@cuixing158

Is your feature request related to a problem? Please describe.
Currently, MATLAB‑related files (.mat, .fig, .slx, .mdl, .mlapp, .mlx, and other extensions) cannot be opened in the same way as in MATLAB Desktop’s File → Workspace. In VS Code Explorer, double‑clicking these files only shows them as binary files and they cannot be opened.

Describe the solution you'd like
I would like the behavior to be similar to MATLAB Desktop:

  • Double‑clicking a .mat file should directly import the data into the MATLAB Workspace.

  • Double‑clicking a .fig file should open the figure window.

  • Double‑clicking a .mlapp file should open the App Designer interface.

  • … and so on.

Describe alternatives you've considered
At present, I can only open these files by explicitly calling MATLAB built‑in functions such as load or open, alternative, I install another mathworks' extension https://github.com/mathworks/data-explorer-vscode

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions