Community Profile

photo

Abdolkarim Mohammadi


Active since 2019

Programming Languages:
Python, MATLAB
Spoken Languages:
English

Statistics

All
  • Revival Level 3
  • 6 Month Streak
  • Introduction to MATLAB Master
  • Community Group Solver
  • 5-Star Galaxy Level 1
  • Personal Best Downloads Level 2
  • First Submission
  • Knowledgeable Level 4
  • Explorer
  • Solver
  • First Review
  • Thankful Level 3

View badges

Content Feed

View by

Answered
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...

etwa ein Monat ago | 0

Answered
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...

etwa ein Monat ago | 0

Answered
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...

etwa 2 Monate ago | 1

Answered
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...

etwa 2 Monate ago | 0

| accepted

Answered
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 - ...

etwa 2 Monate ago | 0

Answered
parsim() with fast restart returns different results
Just installed R2021b, and the problem is solved, which was not until R2021a.

7 Monate ago | 0

| accepted

Answered
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...

8 Monate ago | 1

Answered
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?

8 Monate ago | 0

Answered
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...

9 Monate ago | 1

| accepted

Answered
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...

9 Monate ago | 0

Answered
Some values in optimal solution are still violating the constraint limits in Matlab FMINCON
Try setting the MaxIterations in options to a higher number.

9 Monate ago | 0

Answered
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...

9 Monate ago | 1

| accepted

Answered
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 ...

9 Monate ago | 0

Answered
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...

9 Monate ago | 0

| accepted

Answered
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 ...

9 Monate ago | 0

| accepted

Answered
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 ...

11 Monate ago | 0

| accepted

Answered
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.

11 Monate ago | 0

Answered
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.

12 Monate ago | 0

Answered
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...

12 Monate ago | 0

Answered
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.

12 Monate ago | 1

| accepted

Answered
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 ...

etwa ein Jahr ago | 0

| accepted

Answered
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...

etwa ein Jahr ago | 0

Answered
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...

etwa ein Jahr ago | 0

| accepted

Answered
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. ...

etwa ein Jahr ago | 0

Answered
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 ...

etwa ein Jahr ago | 1

| accepted

Answered
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....

etwa ein Jahr ago | 0

| accepted

Answered
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...

etwa ein Jahr ago | 0

| accepted

Answered
Plotting multiple plots in for loop
You should not use the figure command inside a loop. Each call to command creates a new figure window. When you call the plot fu...

etwa ein Jahr ago | 0

| accepted

Submitted


Golden Eagle Optimizer Toolbox
Source code and user interface for Golden Eagle Optimizer (GEO) and Multi-Objective Golden Eagle Optimizer (MOGEO) metaheuristi...

etwa ein Jahr ago | 41 downloads |

Thumbnail

Answered
Simulink: Output argument 'mot_trq_dem' is not assigned on some execution paths
Maybe adding an empty else to each if helps. For example: if ... ... else end

etwa ein Jahr ago | 0

Load more