vsTASKER 7 User Manual
×
Menu
Index

Properties

 
Properties
1

Name

1. Name
Name of the Matlab function. Must be unique.
The class generated will be foo_m.
 
2

Model

2. Model
Name of the Container the Matlab function belongs.
 
3

Definition

3. Definition
You can write or modify here the Matlab function the same way as you would do it in Matlab, except that there will be no evaluation nor syntax check.
 
4

M-File

4. M-File
The Matlab function must be written into a file (with .m extension) in order to be compiled with the mcc.exe compiler.
See here for the setting of Matlab in vsTASKER.
Set here the full path and file name to the M-File. If not exist, create one on the appropriate directory (see Concept)
 
for saving the definition (3) into the M-File
for updating the definition (3) with the content of the M-File
call the Matlab editor (MATLAB environment variable must be set).
 
5

Matlab Only

5. Matlab Only
If checked, code is compiled but the function is not included into the m container.
 
6

Disabled

6. Disabled
If checked, code is not compiled and function is not included into the m container.
Code using this function will no more compile so, use it with care.
 
7

Interface

7. Interface
The Interface panel is for defining the parameter types of the function and the return type(s).
In the picture below, y variable will be of type matrix.
a is a parameter of the function and is a matrix.
b is another parameter of the function is a scalar.
 
See here for how to use the function into the vsTASKER code.
8

Help

8. Help
Any description of the Matlab function can be put here and will be used for the automatic document generation (see Make Documents)