Add Matlab snippets
This commit is contained in:
parent
2944f653ee
commit
142ba960b7
@ -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