Rank: 10021 based on 0 downloads (last 30 days) and 0 files submitted
photo

Kristof

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Kristof View all
Updated File 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

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

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.

Contact us at files@mathworks.com