... | @@ -49,7 +49,7 @@ This line will create a sub menu called MyCategory in the Processes Menu of AnyW |
... | @@ -49,7 +49,7 @@ This line will create a sub menu called MyCategory in the Processes Menu of AnyW |
|
|
|
|
|
## main.m
|
|
## main.m
|
|
A filed called main.m must also be put in your Plugin.
|
|
A filed called main.m must also be put in your Plugin.
|
|
This file along with desc.txt fill will make your folder an AnyWave MATLAB plugin.
|
|
This file along with desc.txt file will make your folder an AnyWave MATLAB plugin.
|
|
This is a MATLAB function you can create within MATLAB.
|
|
This is a MATLAB function you can create within MATLAB.
|
|
````matlab
|
|
````matlab
|
|
function main(varargin)
|
|
function main(varargin)
|
... | @@ -63,8 +63,10 @@ When using the Plugin Creation Assistant of AnyWave, the file is automatically c |
... | @@ -63,8 +63,10 @@ When using the Plugin Creation Assistant of AnyWave, the file is automatically c |
|
Using the MATLAB Compiler, you can create a standalone version of your 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:
|
|
AnyWave can call the standalone version of your plugin if you add the following line in desc.txt:
|
|
*compiled plugin=nameofexefile*
|
|
*compiled plugin=nameofexefile*
|
|
Example for Delphos plugin, the desc.txt contains the line:
|
|
|
|
*compiled plugin=delphos.exe*
|
|
On Windows it will the name of the .exe file located in the folder.
|
|
|
|
On macOS and linux it will be the bash script (.sh file)
|
|
|
|
|
|
It is also strongly recommended to specify the version of the Runtime needed to run the plugin.
|
|
It is also strongly recommended to specify the version of the Runtime needed to run the plugin.
|
|
add a new line to desc.txt file:
|
|
add a new line to desc.txt file:
|
|
runtime=version
|
|
runtime=version
|
... | | ... | |