Reply by fahadsaeed11 May 22, 20062006-05-22
Hello,

We have built a BER simulator using simulink and after building it we
designed a GUI over it so that the parameters can be passed to the
model using the front end.
Now the problem is that using the GUI some of the parameters are
passed to some blocks and for some blocks there are error messages
what ever we do .

for example to pass parameters to the Gain Block(from the
communication block set) we use:

x=get(hObject,'String');
y=str2double(x);
open_system('ber3') %name of our model
open_system('ber3/Rx Dish Antenna Gain');
set_param('ber3/Rx Dish Antenna Gain','Gain',num2str(y));

works perfectly.but for another block Satellite Reciever System
Temperature

x=get(hObject,'String');
y=str2double(x);
open_system('ber3') %name of our model
open_system('ber3/Satellite Reciever System Temp');
set_param('ber3/Satellite Reciever System Temp','Noise
temperature',num2str(y));

does not work and gives the error :

Receiver Thermal noise block (mask) does not have a parameter
named 'Noise Temperature'

I have double checked the names and the fact that the 'noise
temperature' parameter do exist in the above case.

Any help in this regard would be highly appreciable.

FAHAD SAEED