... | ... | @@ -67,15 +67,12 @@ anywave --run MyPlugin --input_file <filepath> --plugin_option1 option --plugin_ |
|
|
````
|
|
|
### Handle command line options
|
|
|
By default the plugin will have all parameters passed to anywave in the resulting args variable after the call to:
|
|
|
````matlab`
|
|
|
````matlab
|
|
|
args = anywave('init', varargin);
|
|
|
|
|
|
disp(args.plugin_option1); % value for plugin_option1 from the command line.
|
|
|
disp(args.plugin_option2); % value for plugin_option2 from the command line.
|
|
|
````
|
|
|
|
|
|
|
|
|
|
|
|
# Compiled plugin
|
|
|
Using the MATLAB Compiler, you can create a standalone version of your plugin.
|
|
|
AnyWave can call the standalone version of your plugin if you add the following line in desc.txt:
|
... | ... | |