Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Sample times interpreted as continuous simulink

Status
Not open for further replies.

dionysian

Junior Member level 1
Joined
Jun 12, 2010
Messages
15
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,283
Location
Southern Cali
Activity points
1,420
I am having a really frustrating problem with the integrate and dump block from the communication toolbox concerning the sample times. What I am trying to do is simulate a communication system that has a integrate and dump block on the receiver and also a filter from the signal processing toolbox that is a continuous time block. When I insert this block I get and error from the integrate and dump block that says I cannot have continuous time blocks in my model. Fair enough so I insert a zero-order hold block after the continuous filter and to create a sampled version of the output from the filter. This works fine except when I try to have the sample period of the zero-order hold block be less than .001 seconds. If it is less than this I receive that same error message as before saying that I cannot have a continuous time sample block in my model…… wtf. It seems that when the sample period is less than .001 it interprets the block as being continuous time…… Does anyone have some insight for me? Also the exact error I am recieving is:

All sample times for this block must be discrete.
No continuous or constant sample times are allowed.
 

I have/had the same problem with a buffer fed by a randomizer that i had defined sample times from m-file.

Read this resource: **broken link removed**, and consider if it applies to your problem.

The sample time defined must satisfy the condition that (Ts) is always greater than zero and less than the simulation time Tsim , such that number of periods (n) < Tsim/Ts
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top