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.

how to create own blocks in MATLAB?

Status
Not open for further replies.

vanathidevi

Member level 2
Member level 2
Joined
Dec 27, 2006
Messages
43
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Location
India
Activity points
1,528
hi,
i want to create blocks in simevents (MATLAB)
can anybody please explain?

thank you frds

with best regards
vanathi
 

simulink is part of matlab....

there will be lot of blocks in that like adder, subtractor, integrator, differentiator, switches, etc...

U can connect these blocks ( like control loops), give exciatation from source and can see the outputs in scope....
 
but i cant use them as it is frd.
i have to create blocks to implement my algorithm.
is it possible in MATLAB
 

can u tell me what exactly u want to implement......

u know simulink is the part of the matlab... U can make blocks in the simulink...
 

There are blocks like "sub-models" in Simlink that can contain other blocks.
There are also special blocks that could contain your Matlab written algorithms like "MEX-function" or "S-function"
 

actually i want to implement a scheduling algorithm
The voice is modeled as an ON-OFF
process, where the average duration of ON and OFF periods
are set to 2.5 and 0.5 seconds, respectively. During an ON
period, packets are generated with fixed intervals. No packet
is generated during an OFF period. In a video traffic, packets
arrive in a Poission fashion. The last four flows are nonreal-
time FTP flows, and their traffics are modeled as greedy
sources whose queues are never empty.

these all are inputs to my algo.

i implemented the scheduling algorithm in MATLAB
but these event-driven simulation is not possible .
i want to get fairness. so i have to implement my algo. like
event-driven simulation.

thank you frds
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top