Be the first to rate this file! 20 Downloads (last 30 days) File Size: 8.13 KB File ID: #19600
image thumbnail

Simulink programmable pulse generator

by Dustin

 

15 Apr 2008 (Updated 22 Apr 2008)

A pulse generator with amplitude, pulse width, and pulse period inputs.

| Watch this File

File Information
Description

The pulse generator included in Simulink does not provide the ability to programmatically set the parameters. This block provides inputs that allow the amplitude, pulse width, and pulse period to be set. It's fairly simple, but wasn't obvious to me so I thought I'd share it.

Required Products Simulink
MATLAB release MATLAB 7.1.0 (R14SP3)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
16 Jul 2008 vivek b

Hi.. I could not open the model. I have r14sp3 but couldn't open the model .It looks like the version is 7.1 whereas the version in r14sp3 (of simulink) is 6.1.

12 Jul 2009 Isaiah

Hi, was able to open the model. seems to work fine, however, whenever i send an input to the pulsewidth input via a gain block, it doesnt work. please could you advise why this is so?
and could you give any hints as to what i can do to correct this.
i have to say though, it is a very good model.
thanks

06 Jan 2010 alvin phee

HI there,
the model seems fine when working with integer constants input,however when i put non-integer values,the data read write seems to have a problem.Any ideas?

31 Jul 2010 upma rai

Hiii
how to change bit rate of gennerated pulse....like when i want to generate pulse of 10kbit/sec den how can I do......plz suggest me

15 Oct 2011 Basil Aljorani

amazing , really , really thanks
i need in my PhD work

Please login to add a comment or rating.
Updates
22 Apr 2008

Fixes for dynamic pulse periods.

Tag Activity for this File
Tag Applied By Date/Time
pulse generator signal Dustin 22 Oct 2008 09:58:00
pulse generator signal Dries 22 Feb 2010 13:42:53
pulse generator signal Franklin 04 Mar 2011 13:13:06
pulse generator signal S M 31 May 2011 10:08:54
pulse generator signal Juraj 15 Jun 2011 05:08:31
pulse generator signal Imtiaz 27 Dec 2011 08:06:47

Contact us at files@mathworks.com