From 142ba960b74a9c74833b77af5b035b970a303e82 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