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?

 Akzeptierte Antwort

ES
ES am 20 Feb. 2014

0 Stimmen

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

3 Kommentare

syam
syam am 20 Feb. 2014
can you please tell me
where should i use this code
ES
ES am 20 Feb. 2014
It is just a command.. It can run from the command window or in a script or in a m function!
syam
syam am 20 Feb. 2014
thank u

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Gefragt:

am 20 Feb. 2014

Kommentiert:

am 20 Feb. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by