Line number of matlab does not show - matlab

I am using Matlab 2016a version.
I go the preference--->Editor/Debugger--->Display--->General display options--->Show line numbers, checked. Then I reboot the matlab, however, in the text editor, there is still no line numbers.
Does anyone encounter same problem before?

Related

jupyter notebook with octave: code cell is plain text by default

I use jupyter notebook with octave kernel and it runs quite fine.
After a while I wondered why highlighting looks so strange.
Then I realized that part of the notebook is detected as python although an octave kernel is running.
Part of the code cells, in fact most are plain text.
Now I found out in the bottom left corner, one can choose.
The language for octave is in fact MATLAB.
This improves appearance very much.
But now I wonder whether I really must switch each cell individually.
I also found autodetect but this never finds MATLAB.

Problem in .fig to .eps conversion (MATLABR 2015b)

I am generating a matlab figure with features
Separate background regions generated using patch command
A couple of arrows using arrow.m (https://www.mathworks.com/matlabcentral/fileexchange/278-arrow)
Annotations,Labels,etc
I have tried Matlab option to convert to .eps format as well as print2eps.m from https://www.mathworks.com/matlabcentral/fileexchange/23629-export_fig. In both cases I get following warning
Warning: Loading EPS file failed, so unable to perform post-processing. This is usually because the figure contains a large number of patch objects. Consider exporting to a bitmap format in this
case.
Following is the screenshot of two images. Left is Matlab, Right is in latex
As one can obverse, output file is not anywhere near to original matlab figure. Any thoughts on addressing this issue would be much appreciated

Matlab - text analytic toolbox

I want to develop information retrieval system for Amharic language corpus but matlab don't read and display Ethiopic-Unicode characters neither in command line nor in editor window.
I think this is due to the lack of appropriate fonts. For example, if I have a pdf of Ethiopic-Unicode pdf file, the following MATLAB codes can read it,
filename = 'Amharic_sample.pdf';
str = extractFileText(filename);
but characters are garbled in MATLAB windows and are shown as white rectangles. After I installed Ethiopia Jiret from here, and change MATLAB's Desktop text font to Ethiopia Jiret in MATLAB Preferences, MATLAB shows these characters correctly.

Latex Text in Axis/Title Octave

I'm trying to run some of the Matlab code I have right now in Octave. (I know Octave doesn't support all Matlab code) In particular I am trying to run
xlabel('Frequency in $\pi$ units','Interpreter','LaTex')
However I get an error telling my Octave doesn't support the Latex interpreter. I found a workaround online but it is specific to Windows and I am running Linux Mint 14. I was wondering if anyone knew a workaround for Linux, using gnuplot I suppose (or anything else that gets the job done!).
This answer depends on your version of octave.
Set the label as you've done:
xlabel('Whatever')
ylabel('Whenever')
Then print your answer to a latex file:
print -dpslatex 'filename'
It is not perfect and the font size cannot be changed, but it is a solution.

matlab cell mode with vim/gvim

I want to run a cell using vim. however, using what I see here:
How to implement MATLAB-like cell mode in Vim
I get a matlab instance starting, running and then closing. Is it possible to to this like it would be on a real matlab? ie I have a vim on one side and matlab on the other (open all the time), and by a vim command I get the cell to run on the matlab?
Not sure whether this is exactly what you want, but you might want to browse through these answers