Matlab Interface¶
Functions
-
function YggInterface(in type, in varargin)¶
A simple wrapper for importing Python classes & functions.
This function wraps functions from yggdrasil’s Python interface, so refer to that documentation for additional details.
in_channel = YggInterface('YggInput', 'input_channel_name'); [flag, input] = in_channel.recv();
out_channel = YggInterface('YggOutput', 'output_channel_name'); flag = out_channel.send(output1, output2, ...);
- Parameters:
type – The name of the Python interface that should be called (e.g. YggInput, YggOutput, YggRpcClient, YggRpcServer, YggTimesync)
varargin – Additional parameters will be passed to the Python interface function.
- Returns:
out python object returned by the called class/function.