Commit 686c1cf8 authored by Michael Krause's avatar Michael Krause 🎉
Browse files

software: cosmetics

parent 2f6659c1
......@@ -110,16 +110,17 @@ Example:
[krause@master ~]
To include toolboxes in your script you have to add them during the compile step
so they get included in your package. Matlab built-in toolboxes such as signal
processing or statistics are detected automatically by scanning the functions
used in your script and don't need to be added explicitly. Compiled scripts
can't use the `addpath()` function at runtime. You can guard those calls
however with the function `isdeployed()`, which will return 1 when Matlab
detects that it runs as a compiled script and 0 otherwise.
To include toolboxes in your script you have to add them during the compile
step so they get included in your package. Matlab built-in toolboxes such as
signal processing or statistics are detected automatically by scanning the
functions used in your script and don't need to be added explicitly. Compiled
scripts can't use the :program:`addpath()` function at runtime. You can guard
those calls however with the function :program:`isdeployed()`, which will
return 1 when Matlab detects that it runs as a compiled script and 0 otherwise.
Example: Suppose you collect your project library in a toolbox called project,
which in turn uses the function `normrnd()` from the statistics package:
which in turn uses the function :program:`normrnd()` from the statistics
package:
.. code-block:: bash
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment