Add Matlab snippets
This commit is contained in:
parent
0391813725
commit
0fe6aa49e9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user