Python, MATLAB
Spoken Languages:
English
Statistics
RANK
254
of 295 467
REPUTATION
357
CONTRIBUTIONS
18 Questions
162 Answers
ANSWER ACCEPTANCE
55.56%
VOTES RECEIVED
45
RANK
5 849 of 20 234
REPUTATION
199
AVERAGE RATING
4.50
CONTRIBUTIONS
1 File
DOWNLOADS
18
ALL TIME DOWNLOADS
1615
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Is it possible that the output of the From Multimedia File block be the input of the Entity Generator Block?
I am not familiar with video streaming at all, but I think you need to know that entities carry information via attributes. You ...
nästan 2 år ago | 0
Question
Connect to OLAP database using jdbc4olap driver
I am trying to connect to an OLAP database. I know that MATLAB cannot connect to multidimensional databases natively, and need J...
ungefär 2 år ago | 0 answers | 0
0
answersWhat does "entitySys.id" do in Simevent Blocks?
Yes, that's it. It is the index for all of the entities generated within the model. They are useful when you are using SimEvents...
mer än 2 år ago | 0
| accepted
Create entity type and define attributes in custom entity generator using Matlab discrete event system
You must set the attribute in the Generate event action. function [entity,events] = generate(obj,storage,entity,tag) enti...
mer än 2 år ago | 0
simevents entity generation with attributes
You must set the attribute in the Generate event action, using in1. function [entity,events] = generate(obj,storage,entity,tag...
mer än 2 år ago | 0
Speeding up Simulink simulations with event charts and random events
You should try parsim() with fast restart enabled. Read my answer here for further details about this methodology. https://www...
mer än 2 år ago | 1
How to make workspace variables referenced in simevents blocks tunable parameters?
Event actions cannot take tunable parameters. Instead, you can get the desired value from a Simulink function. The Simulink func...
mer än 2 år ago | 0
| accepted
Passing of entities to multiple destination
You should use an Entity Replicator block in order to create copies to be sent to multiple destinations. Replicate entities - ...
mer än 2 år ago | 0
parsim() with fast restart returns different results
Just installed R2021b, and the problem is solved, which was not until R2021a.
ungefär 3 år ago | 0
| accepted
Random generator seed for parallel simulation using fast restart
I do not know the solution to your problem, but I just want to mention that I faced a problem with SimEvents and parsim() with f...
ungefär 3 år ago | 1
Switching different batch names through a switch
Your description of the problem is a bit confusing for me. Are you talking about something like this?
ungefär 3 år ago | 0
how to assign the service time value of the entity server to the entity attribute?
You can create a Simulink function, whose input port is connected to the output of the random number source. Then in the generat...
ungefär 3 år ago | 1
| accepted
Contributors metainfo: reputation and more
I think it would be a great idea to identify prolific users in each toolbox. For example, I do not have enough leisure time, and...
ungefär 3 år ago | 0
Some values in optimal solution are still violating the constraint limits in Matlab FMINCON
Try setting the MaxIterations in options to a higher number.
ungefär 3 år ago | 0
Cut off new arrival of entites to server until server is completely empty again
The solution is to place two Hit crossing blocks to detect the state of the server. When the server is full, the gate closes, an...
ungefär 3 år ago | 1
| accepted
Persistent variables from Simulink to Matlab
I think the best way to do this is to create a Simulink function that includes no blocks, but its output port is connected to a ...
ungefär 3 år ago | 0
Setting block parameters programatically inside a simevents block's event actions
I do not have an exact solution for your problem, but I'm sure SimEvents' block parameters cannot be changed when the model is r...
ungefär 3 år ago | 0
| accepted
Mimimize initializing time for SimEvent model
If you are doing a sensitivity analysis and you execute hundreds of simulations, the correct workflow is to use SimulationInput ...
ungefär 3 år ago | 0
| accepted
SimEvents - inheritance & relative references & resource control
1. MATLAB Discrete-Event System (MDES) block allows you to share code between multiple instances of an object, where each block ...
mer än 3 år ago | 0
| accepted
How do i find out if a queue is not empty?
At such points, the next block to which the Compare blocks are connected, is a Hit crossing block.
mer än 3 år ago | 0
How I can specify more parameters to GA in order to speed up my code execution. with the help of (optimoptions function of ga).. opts = optimoptions(@ga,
Indeed vectorization helps a lot for non-simulation objective functions. You should use the UseVectorized option.
mer än 3 år ago | 0
Design Verifier compatibility with SimEvents blocks
I haven't used Design verifier with SimEvents blocks, but I think the error message is clear. The model containing SimEvents blo...
mer än 3 år ago | 0
Unable to perform assignment because the size of the left side is
The error is clearly saying that the size matrices do not match. data1 must be a 5x60522 matrix.
mer än 3 år ago | 1
| accepted
SimEvents - Setting Entity Attributes based on other entities
You can implement this in two ways. The first approach is easier, and can be implemented via existing SimEvents blocks, but can ...
mer än 3 år ago | 0
| accepted
Modelling a crane operation in Simulink
The model you are seeking for is not hard to create. And your question is too broad to fit in one post. You should start modelin...
mer än 3 år ago | 0
How to draw a specific figure
If you have the data for the edges of the curves, you can use patch(). If multiple curves belong to one or more surfaces, you ca...
mer än 3 år ago | 0
| accepted
Linear regression or confidence interval between two columns
I don't think regression would help you. Statistical tests like t-test with independent or paired samples would be much better. ...
mer än 3 år ago | 0
Calculate Travel time in Simulink
You need to create an attribute to stamp the generation time, and another to stamp the termination time. The difference between ...
mer än 3 år ago | 1
| accepted
how to handle entities group in Simulink(simevents)?
I suspect you are using random numbers for generating the intergeneration time of entities. You should use fixed time-intervals....
mer än 3 år ago | 0
| accepted
Simulation of an production system
If I have understood you well, you need to re-run the sorting algorithm in certain time intervals. If that is the case, you need...
mer än 3 år ago | 0
| accepted