MATLAB code generation to create, boot, train and use blocks.
- See also
- objtool.m, datatool.m, do_blockmenu.m
Definition at line 9 of file gencode.m.
function gencode::add_code |
( |
in |
o, |
|
|
in |
code |
|
) |
| |
|
protected |
function gencode::assert_started |
( |
in |
o | ) |
|
|
protected |
function set gencode::classname |
( |
in |
o, |
|
|
in |
z |
|
) |
| |
function set gencode::dsnames |
( |
in |
o, |
|
|
in |
z |
|
) |
| |
function gencode::execute |
( |
in |
o, |
|
|
in |
flag_finish |
|
) |
| |
|
protected |
Executes accumulated code
- Parameters
-
flag_finish | Whether the execution is the last of a series (will add an extra LineFeed if so) |
function gencode::extract_output |
( |
in |
o | ) |
|
function gencode::finish |
( |
in |
o | ) |
|
function gencode::get_sds |
( |
in |
o | ) |
|
|
protected |
Makes a string to represent the input data.
function gencode::m_boot |
( |
in |
o | ) |
|
Generates code that boots the block.
function gencode::m_create |
( |
in |
o | ) |
|
Generates code that creates new block.
function gencode::m_generic |
( |
in |
o, |
|
|
in |
what |
|
) |
| |
Executes "generic" method from the block. Does not not pass any parameter to the block, i.e., it is assumed that the block can execute the method using its own properties previously assigned.
function gencode::m_train |
( |
in |
o | ) |
|
Generates code that trains the block.
function gencode::m_use |
( |
in |
o | ) |
|
Generate code that uses the block.
function gencode::open_in_browser |
( |
in |
o | ) |
|
function set gencode::params |
( |
in |
o, |
|
|
in |
z |
|
) |
| |
function gencode::start |
( |
in |
o | ) |
|
function get gencode::varname |
( |
in |
o | ) |
|
Property gencode::allcode |
|
protected |
Property gencode::blockname |
Property gencode::classname |
generated code
Definition at line 44 of file gencode.m.
Property gencode::dsnames |
Property gencode::flag_data |
|
protected |
Property gencode::flag_handle |
|
protected |
Property gencode::flag_leave_block |
Property gencode::flag_started |
|
protected |
Whether the "u" object is in the workspace.
Definition at line 41 of file gencode.m.
Property gencode::refblock |
Property gencode::soutname1 |
|
protected |
Property gencode::soutname2 |
|
protected |
Property gencode::varname |
|
protected |
Name of the variable that the block has in the base workspace.
Definition at line 50 of file gencode.m.
The documentation for this class was generated from the following file: