Réponse apportée
Entity generation in SimEvents
Hi Summyia, A persistent variable persists its value between function calls. 'isempty(SEQ)' returns 1 if SEQ is an empty array ...

presque 6 ans il y a | 0

Réponse apportée
Stochastic SimEvents simulation for servers
Hi Etienne, Simevents ships with many examples. You can find them by running the command doc at your MATLAB prompt. Then select...

presque 6 ans il y a | 0

Réponse apportée
What does this code mean?
Hi Navya, In the Entity Generator, Entity Generation tab, dt is the amount of time the generator has to wait before it generate...

presque 6 ans il y a | 0

Réponse apportée
How Replicate module can generate variable number of replications using a signal in SimEvents?
Hi Summyia, Have you tried something along the following lines: Call a simulink function from an event action, just before the...

presque 6 ans il y a | 0

Réponse apportée
SimEvents Conveyor belt with entities at different speeds
Hi Etienne, Thanks for your question! The source code for the Conveyor block has been made available for anyone to read/modify ...

presque 6 ans il y a | 0

Réponse apportée
Block Error: Undefined function or variable. The first assignment to a local variable determines its class.
Hi Striker121, You are getting the error because the variable 'ServerStore' is not declared in the scope of the event action. A...

presque 6 ans il y a | 1

Réponse apportée
Can A Multicast Sender send to a tag which is dynamically determined from an attribute in the entity which it is sending?
Hi Elliot, I don't think thats possible. The alternative would be to use an input switch and route the entity to an appropriate...

presque 6 ans il y a | 0

Réponse apportée
Simevents: Composite Entities across Referenced Model Inports
Hi Thomas, As far as I know, until R2018b, entities cannot cross a model boundary. - Krishna

presque 6 ans il y a | 1

Réponse apportée
Generate multiple entities at a time step with fixed intergeneration time
Hi Mehwish, Yes this can be done. You can set the Entity Generator's 'Time source' to 'MATLAB action'. In the action method you...

presque 6 ans il y a | 0

Réponse apportée
Missing statistics in SimEvents
Hi Jesús, Have you tried to log the statistics to the workspace instead? To do this, in your scope window, go to 'View' -> 'Con...

presque 6 ans il y a | 0

Réponse apportée
how do I "cast" the output of a find entity block in simevents?
Hi Javier, I am not sure what is causing the error. If all the inputs coming to your 'Input Switch' block are of the same type,...

presque 6 ans il y a | 1

Réponse apportée
how to bond two servers to serve the same entity with double service rate in simevents?
Hi Mohamed, As far as I know, there is no easy way to model your requirements with built-in blocks. Have you tried using the cu...

presque 6 ans il y a | 0

Réponse apportée
Simulink: How to export to workspace all entities attributes?
Hi Matias, Have you tried using the assignin function? For example, in the event actions of any SimEvents block, try calling: ...

presque 6 ans il y a | 0

Réponse apportée
In what order do entities leave an Entity Store?
Hi Akram, All entities in an 'Entity Store' block are in a 'ready to leave' state. If the down-stream block is not selective ab...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
how i can generate multiple entities with same Generator Block (simevents)?
Hey Matteo, You can setup the 'Entity Generator' block so that the 'Time source' is set to 'MATLAB action'. Then you can write ...

presque 6 ans il y a | 0

Réponse apportée
How can I assign the value of a signal to an entity attribute in SimEvents?
Hi Javier, You can write the value of the signal to a 'Simulink Function' block. You can call a simulink function from the ev...

presque 6 ans il y a | 0

| A accepté