Prev: OR function
Next: about NMSE
From: Veronika Shivaldova on 19 Feb 2010 04:29 Dear all, i'm working with Simulink and currently trying to understand how available IEEE802.11a model is working and build my own but very similar model. There is an m-file for this model with all the settings but i don't know how can simulink model send some settings to this m-file and how does it read parameters from it. Thanks for your help in advance! Veronika.
From: James Allison on 19 Feb 2010 11:12 A common approach to specify Simulink configuration parameters is to run an m-file to put parameter values in the MATLAB workspace. In the Simulink configuration parameters pane these parameters are specified as variables that can be accessed from the workspace rather than specified as numbers. http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/gui/bq74bj9.html Another convenient way of managing configuration parameters is to use what is called a model callback at model initialization; you can execute MATLAB code at model initialization using a callback: http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/ug/f4-122589.html -James Veronika Shivaldova wrote: > Dear all, > > i'm working with Simulink and currently trying to understand how > available IEEE802.11a model is working and build my own but very similar > model. There is an m-file for this model with all the settings but i > don't know how can simulink model send some settings to this m-file and > how does it read parameters from it. > > Thanks for your help in advance! > > Veronika.
|
Pages: 1 Prev: OR function Next: about NMSE |