Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D Documentation
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • anywave
  • Documentation
  • Wiki
  • Write MATLAB plugin

Write MATLAB plugin · Changes

Page history
Update Write MATLAB plugin authored Jul 23, 2025 by Bruno Colombet's avatar Bruno Colombet
Hide whitespace changes
Inline Side-by-side
Showing with 12 additions and 0 deletions
+12 -0
  • Write-MATLAB-plugin.md Write-MATLAB-plugin.md +12 -0
  • No files found.
Write-MATLAB-plugin.md
View page @ 5752b91d
......@@ -73,6 +73,18 @@ 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.
````
However, this is possible only if we inform AnyWave about plugin_option1 and plugin_option2.
Otherwise, an error will occured when using the command line saying that plugin_option1 and plugin_option2 are unknown options.
#### Register specific options
To add support for specific command line option, add a file called arg.json in the plugin folder.
This is a JSON file that must be like this:
````json
{
"Parameters" : ["plugin_option1", "plugin_option2"]
}
````
# 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:
......
Clone repository
  • Build_AnyWave
  • CLI
  • CLI_List
  • Changes
  • ExportData
  • ICA
  • Imaginary Coherence
  • MATLAB anywave function
  • MATLAB_BIDS
  • MATLAB_change_sig_prop
  • MATLAB_debug
  • MATLAB_get_data
  • MATLAB_get_markers
  • MATLAB_get_props
  • MATLAB_init
View All Pages