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
  • MATLAB_functions

Last edited by Bruno Colombet Jun 06, 2024
Page history

MATLAB_functions

The core of a MATLAB plugin is the main function (located in main.m file).
This function is called by AnyWave once the plugin context is initialized.

anywave() main matlab function

Every requests to anywave should be done using the anywave() function.

The command parameter

The fist parameter to anywave function must be a string containing the command to process.
Here are the current supported commands:

command description Documentation
init must be called first! How to use init
get_data Request data. Documentation
get_markers Request markers Documentation
send_markers Send new markers Documentation
send_message Send a string message (for logging purpose) Documentation
get_props Get global settings related to the current file Documentation
debug_connect Activate debug/developer mode Documentation
run run a plugin Documentation

Global settings for the plugin

Once you called anywave('init', varargin) or anywave('debug_connect', port); a structure is returned containing all parameters currently in use in AnyWave's context.

Clone repository
  • Build_AnyWave
  • CLI
  • CLI_List
  • Changes
  • ExportData
  • MATLAB_API
  • MATLAB_BIDS
  • MATLAB_debug
  • MATLAB_functions
  • MATLAB_get_data
  • MATLAB_get_data_ex
  • MATLAB_get_markers
  • MATLAB_get_props
  • MATLAB_init
  • MATLAB_run
View All Pages