Comments (2)
Hi @LimmaPaulus,
This feature requires having the following line on top of the script:
%%! vim-matlab: split(hello-world)
This will tell the plugin to save the sub-functions as separate files inside a directory named "hello-world" (or whatever you specify inside the parenthesis). And then you can use the addpath
command to add that folder to matlab's exec path.
This is one of the features that I haven't tested thoroughly, so there may be some bugs.
Another way I can think of is using the run
command, e.g. "run filename.m" in the console or through another script; if you simply wanted to run the entire file.
from vim-matlab.
OK, thanks. It would be nice to have command for saving and running whole script with run
command, too :)
from vim-matlab.
Related Issues (20)
- Workspace browser in vim split HOT 2
- Unable to quit matlab server instance HOT 3
- Can't leave terminal after MatlabLaunchServer HOT 3
- Problem executing large cells: truncated commands HOT 2
- E492: Not an editor command: MatlabCliRunSelection HOT 17
- E492: Not an editor command: MatlabCliOpenInMatlabEditor HOT 4
- A similar but simpler vim plugin for matlab
- Option to chane path to matlab executable
- Is it possible to use tab autocompletion in matlab? HOT 1
- OSError: [Errno 8] Exec format error
- Matlab Server starts with software opengl
- Matlab commands not available in nvim HOT 4
- Syntax highlighting does not change the color of the full comment HOT 2
- How to start MATLAB with an environment variable override? HOT 2
- Run in neovim terminal buffer doesn't work (matlab_server_launcher = 'vim') HOT 2
- UpdateRemotePlugins fails HOT 8
- Not working on Windows
- Matrix transpose + inline comment HOT 2
- InsertEnter throws KeyError: 'last_written' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-matlab.