For those of you who are interested: I got a nice hint from support. When the I2C object is open it is possible to modify the remote address. The code looks like this:
% base address of i2c devices
dac = 16;
adc = 76;
% make one i2c object for multiple ic's
ics = i2c('aardvark',0,0);
fopen(ics);
% select remote address of dac and write dac
ics.remoteaddress = dac;
fwrite(ics,[bias 250 00]);
% select remote adress of adc write and control register to config
ics.remoteaddress = adc;
fwrite(ics,[1 95]);
% write register to trigger conversion
fwrite(ics,[2 17]);
% poll status register of adc
for i=1:4
fwrite(ics,0); status = ['status : ' dec2bin(fread(ics,1))];
disp(status)
pause(0.5)
end
% close and delete
fclose(ics),delete(ics)
This works.
Patrick