%% Labview test

addpath('C:\Users\subsea\Desktop\Amund\casadi-windows-matlabR2016a-v3.5.5')
import casadi.*

[timeElapsed, uOpt, obj, P, M, iterations, success, exitFlag, x1Horizon, firstx2, lastx2] = MultipleShootingLabview([BetaO;BetaU], Zo, Qin, Betain, dt, Q, R, x2SP, Qu, u_min, u_max, du_max, mh, ph, deltaX, P2, valveConstant);

