... | @@ -61,7 +61,10 @@ Before calling any anywave commands in your code, call the init function this w |
... | @@ -61,7 +61,10 @@ Before calling any anywave commands in your code, call the init function this w |
|
````matlab
|
|
````matlab
|
|
args = anywave('init', varargin);
|
|
args = anywave('init', varargin);
|
|
````
|
|
````
|
|
Be sure that your function accepts varargin (cell array) argument.
|
|
Be sure that your main function accepts varargin (cell array) argument.
|
|
|
|
````matlab
|
|
|
|
function main(varargin)
|
|
|
|
````
|
|
This will ensure that your plugin can be compiled and run by AnyWave as a standalone application.
|
|
This will ensure that your plugin can be compiled and run by AnyWave as a standalone application.
|
|
The args variable is a structure/dictionnay that contains all useful properties you may use in your plugin.
|
|
The args variable is a structure/dictionnay that contains all useful properties you may use in your plugin.
|
|
|
|
|
... | | ... | |