1
function [x,y,typ] = rtai4_mbx_ovrwr_send(job,arg1,arg2)
5
exprs=arg1.graphics.exprs;
9
[x,y,typ]=standard_inputs(arg1)
10
case 'getoutputs' then
11
[x,y,typ]=standard_outputs(arg1)
13
[x,y]=standard_origin(arg1)
16
model=arg1.model;graphics=arg1.graphics;
19
[ok,inport,name,ipaddr,exprs]=..
20
getvalue('Set RTAI mbx_ovrwr_send block parameters',..
24
list('vec',-1,'str',1,'str',1),exprs)
26
if exists('inport') then in=ones(inport,1), out=[], else in=1, out=[], end
27
[model,graphics,ok]=check_io(model,graphics,in,out,1,[])
31
model.ipar=[length(name);
36
x.graphics=graphics;x.model=model
45
model.sim=list('rtai_mbx_ovrwr_send',4)
46
if exists('inport') then model.in=ones(inport,1), model.out=[], else model.in=1, model.out=[], end
49
model.ipar=[length(name);
56
exprs=[sci2exp(inport),name,ipaddr]
57
gr_i=['xstringb(orig(1),orig(2),[''Mbx Send Ovw'';name],sz(1),sz(2),''fill'');']
58
x=standard_define([3 2],model,exprs,gr_i)