Community Profile

photo

Abdolkarim Mohammadi-Balani


Last seen: 1 month ago Active since 2019

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

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

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

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

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

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

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

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

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

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

3 months ago | 1

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

3 months ago | 0

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

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

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

4 months ago | 40 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

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

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

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

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

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

4 months ago | 0

Answered
trying to use a neural network in a genetic optimiser
If I have understood you well, you want ga() to train your feedforward ANN. If so, you can read about it here: https://www.mat...

4 months ago | 0

Answered
Resource pool, average utilization statistic
SimEvents blocks' statistics are updated not continuously, but rather when an event is triggerred. The system state between the ...

4 months ago | 0

Answered
Elevators with Sim Events
The model described in the tutorial you mentioned exhibits only one person, but it can be used for any capacity of the elevator ...

4 months ago | 0

Answered
How to split a product unevenly and create more subproducts from its remainder using SimEvents?
SimEvent's standard block library only includes blocks with one storage. What you want requires more than one storage, thus, in ...

4 months ago | 0

Answered
Release entity from server based on event...
SimEvent's standard block library only includes blocks that contain only one storage. What you need requires more than one stora...

4 months ago | 0

Answered
How to change Probability Vectors from workspace/file
You can pass the probability vectors as a variable, using SimulationInput objects. More to read: https://www.mathworks.com/h...

4 months ago | 0

Answered
can I see the matlab code generated by simevents model
Simulink blocks are compiled into C, and not MATLAB.

4 months ago | 0

Answered
How can I set attribute age in simevents
For each entity, you should first select an interval based on probabilities using a discrete probability function, and then, gen...

4 months ago | 0

Answered
Modelling two activities that start at the same time on a common entity in SimEvents
You need a Resource Acquirer block, two Entity Server blocks, and two Resource Release blocks. When the entity enters the Resour...

4 months ago | 0

Answered
How to perform Aggregation in simevents
My answer from here: Simevents is based on entity-storage system notion, and its standard block library only includes blocks t...

4 months ago | 0

Load more