Difference between revisions of "Impound.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Spot-edit Spinach function page first-line NOTOC and template fields)
m (Rename Arguments section heading to Parameters)
Line 9: Line 9:
 
This function packages everything it receives into a cell array and returns it back. This is useful for pulling information back from various Spinach [[kernel contexts|context functions]] - call this as a pulse sequence.
 
This function packages everything it receives into a cell array and returns it back. This is useful for pulling information back from various Spinach [[kernel contexts|context functions]] - call this as a pulse sequence.
  
−
==Arguments==
+
==Parameters==
  
 
     varargin  - any number of parameters of any type
 
     varargin  - any number of parameters of any type

Revision as of 17:49, 5 June 2026

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.

Parameters

    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.

See also

acquire.m, hp_acquire.m, sp_acquire.m, Built-in experiments

Version 2.1, authors: Ilya Kuprov