Thread Closed

Simulink help

 
Share Thread Thread Tools
May9-09, 12:15 AM   #1
 

Simulink help


Hi,

I have a project due that has to be done in Simulink.

I am somewhat familiar with Simulink, but some things dont make sense to me.

First off, What determines the time step between each iteration? eg. when you have a clock in the model, what determines the change in time from one iteration to the next?

I remember working with a model once, and changing something in the model changed the sampling frequency for some reason, shich makes no sense to me.

Thanks

Raman
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Heat-related deaths in Manhattan projected to rise
>> Dire outlook despite global warming 'pause': study
>> Sea level influenced tropical climate during the last ice age
May9-09, 02:32 AM   #2
 
You can change the step size in the settings of the menu bar along with what kind of numeric solver it uses. i.e. ode45,ode23, etc.
 
May10-09, 04:55 PM   #3
 
So if I have a input array which is to be used in the system, then I have to make sure the values in the input array are spaced the same time apart as the step size I specify in Simulink Options?
 
May12-09, 03:54 AM   #4
 

Simulink help


How do I add an imput variable that is not a constant?

I have an array of values that I want the system to use, but I dont know how to get it to read the array one element at a time (each iteration I want it to take in one value from the array, and as it goes on it will read down the array).

Thanks
 
May12-09, 09:10 AM   #5
 
Quote by swraman View Post
So if I have a input array which is to be used in the system, then I have to make sure the values in the input array are spaced the same time apart as the step size I specify in Simulink Options?
I'm not sure, I would google that or look on the mathworks website. It may well be that simulink just interpolates points if it needs to.
 
May12-09, 09:11 AM   #6
 
Quote by swraman View Post
How do I add an imput variable that is not a constant?

I have an array of values that I want the system to use, but I dont know how to get it to read the array one element at a time (each iteration I want it to take in one value from the array, and as it goes on it will read down the array).

Thanks
Again, a question for the mathworks forums.
 
May16-09, 04:59 AM   #7
 
thanks i was able to solve itl its jsut the "from workspace" block.
 
Thread Closed
Thread Tools


Similar Threads for: Simulink help
Thread Forum Replies
Need help on Simulink Programming & Comp Sci 1
SIMULINK - need help Electrical Engineering 0
learning Simulink(Matlab) would help me build systems Engineering Systems & Design 1
help on SIMULINK General Engineering 1