Giter Site home page Giter Site logo

mrdandelion6 / matlab-extra-support Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.7 MB

VS Code extension providing extra support for MATLAB integration. Provides the ability to run individual sections of MATLAB files directly from VS Code.

License: MIT License

JavaScript 14.89% TypeScript 85.11%
extension matlab typescript visual-studio-code yo-generator

matlab-extra-support's Introduction

MATLAB Extra Support

This Visual Studio code extension provides additional features to the MATLAB extension by MathWorks. Users can run individual sections of code in a MATLAB file directly inside VS Code.

Example usage GIF

Usage and Features

To run a particular section of code, have your cursor within that section and then run the Run Current Section command through command palette or by pressing ctrl + enter. Note that "sections" in MATLAB files are lines of code separated by %%. For example the following code has two sections.

%%
x = 1;
disp(x);

%%
y = x + 2;
disp(y);

You can also run the current section of code and all code above it by pressing ctrl + shift + enter or using the Run Current Section and all Above command through command palette.

Supports Windows, Mac, and Linux.

Requirements

This extension requires you to have the VS Code extension MATLAB by MathWorks installed.

Known Issues

Currently there is an issue with the workspace variables persisting across different MATLAB terminal sessions. This is because of how the MATLAB extension by MathWorks works. I am working on a solution to reset the workspace each time but I am not yet sure how to since the MATLAB shell does not work like a normal terminal.

Feel free to open an issue if you find any problems, or even a PR if you have any solutions.

Release Notes

Users appreciate release notes as you update your extension.

1.0.0

Initial release.

matlab-extra-support's People

Contributors

mrdandelion6 avatar imgbotapp avatar

Stargazers

 avatar

Watchers

 avatar

matlab-extra-support's Issues

Workspace environment data persisting across different terminal sessions

There is an issue with the workspace variables persisting across different MATLAB terminal sessions. This is because of how the MATLAB extension by MathWorks works. I am working on a solution to reset the workspace each time but I am not yet sure how to since the MATLAB shell does not work like a normal terminal.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.