From 0fe6aa49e94abbf1aa432a56583a8e78b8c8c7f4 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Wed, 25 Nov 2020 12:22:18 +0100 Subject: [PATCH] Add Matlab snippets --- emacs-snippets.org | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/emacs-snippets.org b/emacs-snippets.org index 9a8441f..bb15fe7 100644 --- a/emacs-snippets.org +++ b/emacs-snippets.org @@ -574,3 +574,14 @@ $0 ,#+end_src $0 #+end_src + +*** Mvalue +#+begin_src conf :tangle ~/.config/doom/snippets/org-mode/mvalue +#contributor : Thomas Dehaeze +#name :Matlab-Value +# -- +,#+begin_src matlab :results value replace :exports results :tangle no + sprintf('x = %.2g', x); +,#+end_src +$0 +#+end_src