howto change phase delay of pulse generator externally?

hi friends, i have a look up table where the phase delay values to pulse generator are stored,I want to give these values directly phase delay of pulse generator block. can it done directly as i mentioned above or else what should i use for this task?

 Accepted Answer

You can use a set_param command to do this.
set_param(BlockName,'PhaseDelay','15');%Phase Delay of 15 seconds

3 Comments

can you please tell me
where should i use this code
It is just a command.. It can run from the command window or in a script or in a m function!

Sign in to comment.

More Answers (0)

Asked:

on 20 Feb 2014

Commented:

on 20 Feb 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!