Questions tagged [matlab]

MATLAB is a high-level language and interactive programming environment for numerical computation and visualization developed by MathWorks.

Filter by
Sorted by
Tagged with
0
votes
1answer
9 views

Make octave-mode recognise the MATLAB command spmd

The parallel toolbox for MATLAB has a command, spmd (https://se.mathworks.com/help/parallel-computing/spmd.html), that octave-mode does not recognize. Note: I know how to make octave-mode recognize ...
0
votes
1answer
32 views

matlab-shell, changed files' location (changed files' directory)

I've been used mablab-mode & shell in GNU emacs, and changed some of files' location, then these warnings came out every time. There's no sort of setting location. Does anyone know this problem? ...
1
vote
0answers
69 views

Show history of command in MATLAB shell

I used the command matlab-shell for opening a new MATLAB instance inside emacs. How can I have a functionality similar to the of MATLAB which allows to see at once the most recent commands and to ...
0
votes
1answer
773 views

How to add matlab integration-spacemacs?

I already installed matlab-mode from the package list. However, not sure where to add the path in ~/.spacemacs. Its a huge file, and the code structure look different from the path file: (...
1
vote
1answer
871 views

Better syntax highlighting in MATLAB/Octave

I'm using emacs for editing a bunch of matlab files. The only gripe that I have is that the syntax highlighting provided by octave-mode is pretty poor. This is the syntax highlighting provided by ...
0
votes
1answer
463 views

When MATLAB mode is installed opening an m file gives a file mode specification error

I have installed the matlab-mode-20160902.459 package from MELPA and whenever I open an m file (i.e., a file with the file extension .m which is the file extension of most MATLAB/GNU Octave scripts) I ...
0
votes
1answer
125 views

matlab crashes when logged in via emacs

I have installed matlab-mode from the melpa repository. However when I do M-x: matlab-shell [RET] It gives me the following error. objc[4164]: Class JavaLaunchHelper is implemented in both /...
13
votes
2answers
1k views

Async execution in org babel

Is there a good general customization of org-babel to run asynchronously? Recently I plan to use MATLAB via org-babel, but I would like it in an async manner, since some calculations do take time. I ...
1
vote
3answers
422 views

Adding comment out for matlab-mode

How can I apply M-; to comments out blocks in matlab-mode? Currently it only adds comments at the end of line. Thanks!
7
votes
2answers
1k views

Commented lines shoot off to column 32 in octave-mode

I am using the octave major mode for editing my MATLAB code, since it is more convenient than the unsupported MATLAB packages for emacs on the internet. One downside is whenever I try to auto-indent ...
2
votes
4answers
229 views

Compile Matlab Code

I am new to gnu Emacs and have a question. I created an M file to run in Matlab and I got it working fine. My question is, is there a way to compile my code in the Emacs editor or test out my ...
9
votes
1answer
4k views

How to automatically run inferior process when loading major mode for the first time?

Let's say we are working with Python (or Matlab) with company. Without an inferior process company messages that Completion needs an inferior Python process running However, the obvious solution to ...
2
votes
1answer
436 views

Show breakpoints when debugging Matlab

I am using matlab-emacs to debug a matlab script from inside of emacs with GUD. Everything seems to be working as expected except that I don't see any breakpoint indicators in the fringe. This is ...