Writing a Simple Client in Matlab

%% Init (addpath)
clc;clear all;close all;
[voopRes voopT] = system('echo $ROS_WORKSPACE');
addpath(genpath([strcat(voopT) '/clopema_matlab/matlab/']));
clear voopRes voopT

%%
req.A = 10;
req.B = 100;
res = rosClopemaCallService('/add_two_ints',req);
fprintf('%f\n',res.Sum);