Rank: 1463 based on 72 downloads (last 30 days) and 1 file submitted
photo

Uwe Lelke

E-mail

Personal Profile:

Professional Interests:

 

Watch this Author's files

 

Files Posted by Uwe
Updated   File Tags Downloads
(last 30 days)
Comments Rating
29 Sep 2009 Screenshot m-code to LaTeX converter This m-file (with GUI) converts m-code into a tex-file for including in a LaTeX-document. Author: Uwe Lelke conversion, tex, mcode, highlighting, latex, publishing 72 4
  • 5.0
5.0 | 2 ratings
Comments and Ratings by Uwe
Updated File Comments Rating
22 Jun 2009 M-code LaTeX Package Easily include nicely syntax highlighted m-code in your LaTeX documents. Author: Florian Knorn

not bad, but there are still problems with recognizing keywords and strings correctly

Comments and Ratings on Uwe's Files View all
Updated File Comment by Comments Rating
09 Aug 2009 m-code to LaTeX converter This m-file (with GUI) converts m-code into a tex-file for including in a LaTeX-document. Author: Uwe Lelke Kristof

another problem that I've just encountered:
error(’The tag ’’%s’’ is not correct.’,boxtag);
% the ",box" is black while "tag);" is blue.

09 Aug 2009 m-code to LaTeX converter This m-file (with GUI) converts m-code into a tex-file for including in a LaTeX-document. Author: Uwe Lelke Kristof

Nice work, but I still have some problems with it:
1. The transpose is still considered a string in the following case:
% .*(comp2) and .*(comp4) are colored as strings.
logical((comp1)’.*(~comp2)’.*(comp3)’.*(comp4)’.*(comp5)’);

2. When I use sprintf, then the everything after %s is colored as a string.
handles.(tag) = struct(...
’button’, eval(sprintf(’handles.%s’,tag)),...
’checkbox’, eval(sprintf(’handles.%s_check’,tag)),...
’time’, eval(sprintf(’handles.edit_%s_Time’,tag)),...
’initial’, eval(sprintf(’handles.edit_%s_Initial’,tag)),...
’final’, eval(sprintf(’handles.edit_%s_Final’,tag)),...
’gototag’, tag,...
’path’, path_steps_faults{i});

3. The gui doesn't seem to work. I don't know if anybody else had the same problem, but each button gives the same error:
>> m2tex
??? Error using ==> waitfor
Undefined function or method 'm2tex_gui_app' for input arguments of type 'struct'.
 
??? Error using ==> waitfor
Error while evaluating uicontrol Callback

I hope you can resolve these problems.

30 Jul 2009 m-code to LaTeX converter This m-file (with GUI) converts m-code into a tex-file for including in a LaTeX-document. Author: Uwe Lelke lenny

Well done. Really good work. Thanx!

A single problem I have come across:
"if, then, else" only recognized when they are in separate lines. But I'm not so sure what was the problem in my case. I changed it from
     if xx==1; do_this_fcn; else do_that_fcn; end
to
   if xx==1
      do_this_fcn;
   else
      do_that_fcn;
   end
and it worked.

For future versions:
additional input options for 'inputfilename', 'outputfilename' (which would include the directory) and which would help to automatize your script updating routines in a latex based protocol.

21 Jul 2009 m-code to LaTeX converter This m-file (with GUI) converts m-code into a tex-file for including in a LaTeX-document. Author: Uwe Lelke Gingras, David

Very useful and it works at the first time! I got a small error with an equation with 2 transposes in the same line (e.g. : G=P*C'/(C*P*C'+R)). The parser has interpreted the code between both transposes (') as a string. But it's minor. Good job, thanks!

Top Tags Applied by Uwe
conversion, highlighting, latex, mcode, publishing
Files Tagged by Uwe
Updated   File Tags Downloads
(last 30 days)
Comments Rating
29 Sep 2009 Screenshot m-code to LaTeX converter This m-file (with GUI) converts m-code into a tex-file for including in a LaTeX-document. Author: Uwe Lelke conversion, tex, mcode, highlighting, latex, publishing 72 4
  • 5.0
5.0 | 2 ratings
 

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