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

MATLAB_functions · Changes

Page history
transferring wiki from anywave to documentation authored Jun 06, 2024 by Bruno Colombet's avatar Bruno Colombet
Hide whitespace changes
Inline Side-by-side
Showing with 25 additions and 0 deletions
+25 -0
  • MATLAB_functions.md MATLAB_functions.md +25 -0
  • No files found.
MATLAB_functions.md 0 → 100644
View page @ 2d1e05f5
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](MATLAB_init) |
| get_data | Request data. | [Documentation](MATLAB_get_data_ex) |
| get_markers | Request markers | [Documentation](MATLAB_get_markers) |
| send_markers | Send new markers | [Documentation](MATLAB_send_markers) |
| send_message | Send a string message (for logging purpose) | [Documentation](MATLAB_send_message) |
| get_props | Get global settings related to the current file | [Documentation](MATLAB_get_props) |
| debug_connect | Activate debug/developer mode | [Documentation](MATLAB_debug) |
| run | run a plugin | [Documentation](MATLAB_run) |
# 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