impound.m

From Spinach Documentation Wiki
Jump to: navigation, search

Simple input capture.

Syntax

    answer=impound(varargin)

Description

This function packages everything it receives into a cell array and returns it back. This is useful for pulling information back from various Spinach context functions - call this as a pulse sequence.

Arguments

    varargin   - any number of parameters of any type

Outputs

    answer     - all input parameters as a cell array

Examples

See MAS optimal control examples in examples/optimal_control directory.


Version 2.1, authors: Ilya Kuprov