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?

 Réponse acceptée

ES
ES le 20 Fév 2014

0 votes

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

3 commentaires

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Question posée :

le 20 Fév 2014

Commenté :

le 20 Fév 2014

Community Treasure Hunt

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

Start Hunting!

Translated by