Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# matlab-plugin documentation

I have written documentation files for the Matlab-plugin
* matlab.en.tm
* matlab-abstract.en.tm (basically an adaptation of Joris van der Hoeven's octave-abstract.en.tm)
* matlab-install.en.tm (an installation and configuration instruction)
The startup script included therein is the result of a collaborative effort by jeroen, pireddag,
and me on http://forum.texmacs.cn/t/getting-the-matlab-plugin-working-with-texmacs/368)
* matlab-demo.en (a short guide to show the working of the Matlab-plugin)

jeroen, pireddag, and me wrote the script file
* tm_matlab

If they are considered useful, I offer them to be included for public use.
Feedback on any shortcomings, inconsistencies or (blatant) errors is more than appreciated.

Tilda A. Steiner
14 changes: 10 additions & 4 deletions bin/tm_matlab
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/sh
echo -ne "\002verbatim:"
cd $TEXMACS_PATH/plugins/matlab/code
matlab -nojvm -r tmrepl
#!/bin/bash
echo -ne "\002verbatim:"

# location of plugin-config (tmrepl.m)
# PLUGIN_CODE=$TEXMACS_HOME_PATH/plugins/matlab/code/
PLUGIN_CODE_PATH=$TEXMACS_PATH/plugins/matlab/code/
# extend and export MATLABPATH
export MATLABPATH="$MATLABPATH:$PLUGIN_CODE_PATH"
# start Matlab for plugin session
matlab -nodesktop -nosplash -r tmrepl
46 changes: 46 additions & 0 deletions doc/matlab-abstract.en.tm
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<TeXmacs|1.99.18>

<style|<tuple|tmdoc|english|old-spacing|old-dots|old-lengths>>

<\body>
<tmdoc-title|The <name|Matlab> system>

<name|Matlab> is a high-level language, primarily intended for numerical
computations. It provides a convenient command line interface for solving
linear and nonlinear problems numerically, and for performing other
numerical experiments using a language that is mostly compatible with
<name|Octave>. It may also be used as a batch-oriented language.

<name|Matlab> has extensive tools for solving common numerical linear
algebra problems, finding the roots of nonlinear equations, integrating
ordinary functions, manipulating polynomials, and integrating ordinary
differential and differential-algebraic equations. It is easily extensible
and customizable via toolkits and user-defined functions written in
<name|Matlab>'s own language, or using dynamically loaded modules written
in C++, C, Fortran, or other languages.

The <name|Matlab> interface to <TeXmacs> has been written by <name|Michael
Graffam> way back in 2004 and undergone some reorganization by J<name|oris
van der Hoeven> in early 2013. Despite its age, it can still be run with
more recent version of <name|Matlab>. A group of enthusiast (pireddag,
jeroen, and Tilda) on <em|GNU TeXmacs forum> have worked on the necessary
modifications to get the plugin up and going. Time will tell, if
<em|substantial> recoding is required. So, if you like the idea of using
<name|Matlab> from within <TeXmacs>, then please help figuring out.

<tmdoc-copyright|1998\U2021|Joris van der Hoeven and adapted to
<name|Matlab> specifics by Tilda <abbr|A.> Steiner>

<tmdoc-license|Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version 1.1
or any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts. A copy of the license is included in the section entitled "GNU Free
Documentation License".>
</body>

<\initial>
<\collection>
<associate|preamble|false>
</collection>
</initial>
Loading