From: mo on
hi ..
this is an example from the matlab help files..
could anyone please covert it to simulink block and show me how this is done ?
espacily, how would i send a string over the rs232 with Simulink .

s = serial('COM1');
fopen(s)
fprintf(s,'*IDN?')
idn= fscanf(s)
fclose(s)
delete(s)
clear s



thanks in advance