Rank: 2630 based on 28 downloads (last 30 days) and 1 file submitted
photo

Leif Persson

E-mail
Company/University
FOI
Lat/Long
63.849, 20.3325

Personal Profile:

Researcher at the Swedish Defence Research Agency, FOI, Division of CBRN Defence and Security, Umeå.

Scientific interests: theory and numerical methods for partial and stochastic differential equations, with applications in dispersion modeling and sensor data fusion (source estimation).

M. Sc. in Mechanical Engineering and Licentiate degree in Applied Mathematics from the University of Luleå, and Ph. D. and Associate Professor in Mathematics at Umeå University.

Professional Interests:
Mathematics, atmospheric dispersion modeling

 

Watch this Author's files

 

Files Posted by Leif
Updated   File Tags Downloads
(last 30 days)
Comments Rating
09 Oct 2009 Intelligent code completion for matlab Code completion for the Matlab editor. Author: Leif Persson code completion, matlab editor, autocompletion, code snippets 28 2
  • 3.0
3.0 | 1 rating
Comments and Ratings by Leif
Updated File Comments Rating
09 Oct 2009 Intelligent code completion for matlab Code completion for the Matlab editor. Author: Leif Persson

Les,
thanks for pointing out the documentation error.
I have tested with R2007b-R2009b on Win XP x64 but I couldn't
reproduce the error - tab completion in the command window
seems to work fine on my computer for all these releases.

Matlab_Code_Completion_Macro doesn't work properly in 2007a though, it seems that something in the regexp semantics changed from R2007a to R2007b.

Comments and Ratings on Leif's Files View all
Updated File Comment by Comments Rating
09 Oct 2009 Intelligent code completion for matlab Code completion for the Matlab editor. Author: Leif Persson Persson, Leif

Les,
thanks for pointing out the documentation error.
I have tested with R2007b-R2009b on Win XP x64 but I couldn't
reproduce the error - tab completion in the command window
seems to work fine on my computer for all these releases.

Matlab_Code_Completion_Macro doesn't work properly in 2007a though, it seems that something in the regexp semantics changed from R2007a to R2007b.

08 Oct 2009 Intelligent code completion for matlab Code completion for the Matlab editor. Author: Leif Persson Les

Leif:

I tried your utility and was quite impressed at first. However, it seems that it breaks tab completion for workspace variables in the command window. So, I won't be using it.

You might want to check into this and see if you can fix it.

If you find a fix I might try this again.

Note also that the suggested startup.m commands in the comment header don't work. I had to remove the single quote at the end of the function handle. Here is what I used:

macros = EditorMacro('ctrl-space',@Matlab_Code_Completion_Macro, 'run'); %#ok<NASGU>
macros = EditorMacro('ctrl-alt-space',@Matlab_Code_Completion_Macro, 'run'); %#ok<NASGU>
macros = EditorMacro('shift-ctrl-space',@Matlab_Code_Completion_Macro, 'run');

Regards
Les

Top Tags Applied by Leif
autocompletion, code completion, code snippets, matlab editor
Files Tagged by Leif
Updated   File Tags Downloads
(last 30 days)
Comments Rating
09 Oct 2009 Intelligent code completion for matlab Code completion for the Matlab editor. Author: Leif Persson code completion, matlab editor, autocompletion, code snippets 28 2
  • 3.0
3.0 | 1 rating
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com