impound.m

From Spinach Documentation Wiki
Revision as of 20:34, 29 December 2017 by Kuprov (talk | contribs) (Created page with "{{DISPLAYTITLE:impound.m}} Simple input capture. ==Syntax== answer=impound(varargin) ==Description== This function packages everything it receives into a cell array an...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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