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 17 additions and 0 deletions
+17 -0
  • Write-MATLAB-plugin.md Write-MATLAB-plugin.md +17 -0
  • No files found.
Write-MATLAB-plugin.md
View page @ 58c96e20
...@@ -59,6 +59,23 @@ args = anywave('init', varargin); ...@@ -59,6 +59,23 @@ args = anywave('init', varargin);
```` ````
When using the Plugin Creation Assistant of AnyWave, the file is automatically created. When using the Plugin Creation Assistant of AnyWave, the file is automatically created.
## Command Line
You may want your plugin to be used when AnyWave is launched using the command line.
AnyWave can run processes/plugins when launched that way:
````bash
anywave --run MyPlugin --input_file <filepath> --plugin_option1 option --plugin_option2 option ...
````
### 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`
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 # Compiled plugin
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:
......
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