from
QCAT
by Ola Harkegard Quadratic Programming Control Allocation Toolbox
Description of wlsc_alloc
wlsc_alloc
PURPOSE
WLSC_ALLOC - C implementation of WLS_ALLOC.
SYNOPSIS
This is a script file.
DESCRIPTION
WLSC_ALLOC - C implementation of WLS_ALLOC.
[u,W,iter] = wlsc_alloc(B,v,umin,umax,Wv,Wu,ud,gamma,u0,W0,imax)
See WLS_ALLOC for documentation. All input arguments are required.
To build WLSC_ALLOC, see the instructions in the wlsc_alloc.c
source file.
CROSS-REFERENCE INFORMATION
This function calls:
This function is called by:
alloc_sim ALLOC_SIM - Control allocation simulation.
qp_ca_sl Wrapper used in the QP control allocation Simulink block.
SOURCE CODE
0001 % WLSC_ALLOC - C implementation of WLS_ALLOC.
0002 %
0003 % [u,W,iter] = wlsc_alloc(B,v,umin,umax,Wv,Wu,ud,gamma,u0,W0,imax)
0004 %
0005 % See WLS_ALLOC for documentation. All input arguments are required.
0006 %
0007 % To build WLSC_ALLOC, see the instructions in the wlsc_alloc.c
0008 % source file.