Add Matlab snippets

This commit is contained in:
Thomas Dehaeze 2020-11-25 12:22:18 +01:00
parent 0391813725
commit 0fe6aa49e9

View File

@ -574,3 +574,14 @@ $0
,#+end_src ,#+end_src
$0 $0
#+end_src #+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