From: Eric L. <Eri...@ma...> - 2010-04-29 18:04:22
|
Hi, What you see is a side-effect of the fact that MATLAB is parsing that string and displaying all those prompts. I suppose it would be possible to replace all the CRs with , or something, such as the patch I attach, but this won't work if you have ..., or other things that mess with line continuations. Perhaps someone else on the list has a clever idea for turning off MATLAB echoing values. Eric -----Original Message----- From: Laurent Jacques [mailto:lau...@uc...] Sent: Thursday, April 29, 2010 11:34 AM To: mat...@li... Subject: [Matlab-emacs-discuss] "Run Cell/Region" in quiet mode Dear all, I have just discovered your matlab emacs mode. Very nice work!, specially the "cell mode" which was missing from the previous matlab modes for emacs. About this mode, how can I modify the configuration so that the "Run Cell/Region" is done in a quiet mode (as in Matlab)? I mean, currently, if in a given matlab script I have <code> %% Cell 1 cmd1; cmd2; cmd3; %% Cell 2 ... </code> when I run Cell 1 by launching "Run Cell" inside it, the "Matlab Shell" display >> cmd1; <output cmd1> >> cmd2; <output cmd2> >> cmd3; <output cmd3> However, I'd like to restrict the Matlab Shell display to the only outputs of the Cell 1, i.e. >> <output cmd1> <output cmd2> <output cmd3> Do you think it is possible? Displaying the cmds induces sometimes a mess in the output of a cell. Thanks a lot for your help, L. Jacques -- Dr. Laurent JACQUES Postdoctoral Researcher, FRS-FNRS, Belgium Communications and Remote Sensing Laboratory University of Louvain Batiment Stévin Place du Levant, 2 1348 Louvain-la-Neuve, Belgium Office: a.131 Tel: +32 10 47 23 16 Fax: +32 10 47 20 89 http://www.tele.ucl.ac.be/~jacques ------------------------------------------------------------------------------ _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |