Hi Alexendra,
not sure about the exact details as I am not familiar with MatLab, but the h = actxserver statement looks like what you need to do indeed.
In the help menu of AIMMS, you can find the AIMMS COM documentation. Though the examples for AIMMS COM are given with Visual Basic, it will give you an idea how to do the communication with AIMMS.
Note that you will first have to create your model in AIMMS itself, you cannot do the modelling part from within Matlab via the COM interface.
Guido Diepen
AIMMS Specialist