Community Profile

photo

Abdolkarim Mohammadi


Con actividad desde 2019

Programming Languages:
Python, MATLAB
Spoken Languages:
English

Estadísticas

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

Ver insignias

Content Feed

Ver por

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

más de 1 año hace | 0

Pregunta


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

más de 1 año hace | 0 respuestas | 0

0

respuestas

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

casi 2 años hace | 0

| aceptada

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 1

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

casi 2 años hace | 0

| aceptada

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

casi 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 1

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

más de 2 años hace | 0

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

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

| aceptada

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

casi 3 años hace | 0

| aceptada

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

casi 3 años hace | 0

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

casi 3 años hace | 0

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

casi 3 años hace | 0

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

casi 3 años hace | 1

| aceptada

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

casi 3 años hace | 0

| aceptada

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

casi 3 años hace | 0

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

casi 3 años hace | 0

| aceptada

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

casi 3 años hace | 0

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

casi 3 años hace | 1

| aceptada

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

casi 3 años hace | 0

| aceptada

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

casi 3 años hace | 0

| aceptada

Cargar más