Add Matlab snippets

This commit is contained in:
Thomas Dehaeze 2020-11-25 12:22:18 +01:00
parent 2944f653ee
commit 142ba960b7

View File

@ -574,3 +574,14 @@ $0
,#+end_src
$0
#+end_src
*** Mvalue
#+begin_src conf :tangle ~/.config/doom/snippets/org-mode/mvalue
#contributor : Thomas Dehaeze <dehaeze.thomas@gmail.com>
#name :Matlab-Value
# --
,#+begin_src matlab :results value replace :exports results :tangle no
sprintf('x = %.2g', x);
,#+end_src
$0
#+end_src