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 3
  • Explorer
  • Solver
  • First Review
  • Thankful Level 2

View badges

Content Feed

View by

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

3 days 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...

1 month 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?

2 months 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...

2 months ago | 1

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

2 months 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.

2 months 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...

2 months 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 ...

2 months 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...

2 months 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 ...

2 months 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 ...

4 months 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.

4 months 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.

5 months 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...

5 months 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.

5 months 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 ...

5 months 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...

6 months 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...

6 months 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. ...

6 months 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 ...

6 months 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....

6 months 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...

6 months 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...

6 months 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...

6 months ago | 74 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

7 months ago | 0

Answered
Test for Poisson distribution
Maybe the problem is that you have created too many bins; one bin for each observation. That would not yield good results. Consi...

7 months ago | 0

Answered
how to animate circle
You first draw the single point at the top of the circle. Then you edit the XData and YData properties of the line after a pause...

7 months ago | 0

Answered
How am I supposed to download documentation for Matlab?
Just google the name of the toolbox you want plus "pdf documentation". You can find the documentation homepage for the toolbox, ...

7 months ago | 0

Answered
How to save strings in a loop into an array?
You should first initialize the direction vector: direction = strings (1, 200); Then assign a value to a certain element of ...

7 months ago | 0

| accepted

Answered
Performance: readTable versus xlsread
I don't know about the exact thing you mentioned, but I have experienced that when reading many matrixes from Excel (hence many ...

7 months ago | 0

Load more