Difference between revisions of "AnyWave:WriteMatlabScripted"

From WikiMEG
Jump to: navigation, search
(Introduction)
(Introduction)
Line 2: Line 2:
 
This section targets people who have a good knowledge and practice of Matlab language.<br/>
 
This section targets people who have a good knowledge and practice of Matlab language.<br/>
 
We will cover the AnyWave-Matlab API (Application Programming Interface) and develop examples through tutorials.<br/>
 
We will cover the AnyWave-Matlab API (Application Programming Interface) and develop examples through tutorials.<br/>
 +
=Where to start?=
 +
The first thing to do is to create the basic structure for a plug-in.<br/>
 +
A Matlab Scripted plug-in is very simple, it is a folder containing at least two files.<br/>
 +
<br/>
 +
Let's begin by creating a folder somewhere on the computer, called '''MyPlugin'''.<br/>
 +
This can be done in MATLAB. Create a folder and create a new function called '''main''' in that folder.<br/>
 +
The main function is MANDATORY. It will be the main function AnyWave will call to execute our plugin.<br/>

Revision as of 10:09, 17 April 2014

Introduction

This section targets people who have a good knowledge and practice of Matlab language.
We will cover the AnyWave-Matlab API (Application Programming Interface) and develop examples through tutorials.

Where to start?

The first thing to do is to create the basic structure for a plug-in.
A Matlab Scripted plug-in is very simple, it is a folder containing at least two files.

Let's begin by creating a folder somewhere on the computer, called MyPlugin.
This can be done in MATLAB. Create a folder and create a new function called main in that folder.
The main function is MANDATORY. It will be the main function AnyWave will call to execute our plugin.