# Pouya Jamali

Professional Interests: Control Emgineering, virtual modeling and simulation

**Content Feed**

提问

Struggling with simulation flow control commands in Simulink!

Dear Community, Some time ago I found Set_param to control Simulation flow of my Simulink block diagram through an m-file. It...

6 years 前 | 0 个回答 | 0

### 0

个回答Specified matrix range to Excel file

Hi, Did you try using a medium variable? I mean before you try to save your matrix A in an Excel file save those elements you...

6 years 前 | 1

| 已接受

How to constrain the rotation of a joint in SimMechanics 2nd generation

Hi Christopher, If you haven't found a solution yet, I would suggest you have a look into the 'Rotational Hard Stop' block in...

7 years 前 | 1

提问

How to change a block's parameter in a pause and make it affect the simulation straight away?

Hi, I try to control the simulink simulation flow from a script. There is a constant block in my blockdiagram, which I would ...

7 years 前 | 0 个回答 | 0

### 0

个回答提问

Using a USB mouse as a free position sensor

Hi, I'm trying to use a usb mouse as a position sensor in my mobile robot. The robot should be able to move freely in 2D spac...

7 years 前 | 1 个回答 | 0

### 1

个回答SimMechanics Mechanics Explorer does not render on one PC but not another

Hi, Once I had the same problem with my Geforce graphic card not only when using Matlab but also many other engineering softw...

7 years 前 | 0

提问

Editing geometry imported from SolidWorks to Simmechanics

I need to optimize my multibody dynamics system in terms of geometry. The problem is that the initial geometry is complex and di...

9 years 前 | 1 个回答 | 1

### 1

个回答提问

High dimension matrix algebra

Hi there, I'm trying to solve a set of linear equations by using Matlab syntax '\'. This properly works for dimensions less t...

9 years 前 | 2 个回答 | 0

### 2

个回答提问

Is there a way to abort the code inside a function?

Hey there, Happy to know people are there when there is a challenge. I see that _return_ function is used to abort the code w...

9 years 前 | 2 个回答 | 0

### 2

个回答The 'wait' command and m-code/simulink interaction

Yes SimulationStatus property does it. I'm done. A while loop to check the simulation status is my solution. Thank goodness

9 years 前 | 0

| 已接受

提问

The 'wait' command and m-code/simulink interaction

Dear Community, I'm controlling the simulation course of a simulink block diagram for control system design purposes. I d...

9 years 前 | 1 个回答 | 0

### 1

个回答Parallel Computing: dot name reference

Considering the error sequence, I think it is reproduced owing to your COMSOL model. Maybe this happens because of convergence i...

10 years 前 | 0

提问

solving a set of first order differential equations in simulink

I wish there is a way, maybe a block or something, to simulate a set of first order differential equations of any form (not rest...

10 years 前 | 2 个回答 | 0

### 2

个回答提问

Why axis labels disappear when trying to assign their position?

In Matlab 2012b I need to move axis labels of my plot arbitrarily. I want this because they are not placed according to my taste...

10 years 前 | 1 个回答 | 0

### 1

个回答提问

Negative exponent and reverse order in MuPad

Hello there, I want to have a polynomial with negative power of the main variable. something like the one below: f(z)=a0+a...

10 years 前 | 0 个回答 | 0

### 0

个回答提问

How to plot such a graph

Dear all, I want to plot a graph like the one linked here but I don't know how! What is necessary is to make all the space...

10 years 前 | 0 个回答 | 0

### 0

个回答提问

How to implement MFD discrete filter in simulink

Dear all Simulink Users, I'm in need of implementing such a discrete filter in Simulink which is described below: Output=...

10 years 前 | 0 个回答 | 0

### 0

个回答Problem with Fuzzy controller blocks in simulink

Dear Alex I've already solved my problem but I still believe that It's a bug. I think its belong to the fuzzy variable ranges...

10 years 前 | 1

| 已接受

提问

Initializing some variables in base workspace when running simulink model

I'd like to initialize some variables in base workspace during initialization phase of simulation in SIMULINK. Is there such a b...

10 years 前 | 1 个回答 | 0

### 1

个回答提问

Problem with Fuzzy controller blocks in simulink

I've already developed a control model by using fuzzy controller in simulink. there are some problems that seems like bugs. If y...

11 years 前 | 4 个回答 | 0

### 4

个回答提问

Is it possible to reduce code generation time for simulink Matlab function block?

We know that when there is a Matlab Function Block in Simulink block diagram compilation phase take time more than usual because...

11 years 前 | 2 个回答 | 0

### 2

个回答Is it possible to use structure variable as an input parameter for Matlab function block in simulink?

Yes, structure variables are supported in Matlab function block as input parameters. But You should consider that they can't be ...

11 years 前 | 0

提问

Is it possible to use structure variable as an input parameter for Matlab function block in simulink?

I need to use a structure variable as an input in my matlab function block! I've done the instructions as said in documentation ...

11 years 前 | 2 个回答 | 0

### 2

个回答提问

How to train a Neural Network which is placed in a simulink block diagram as a controller through script files?

I've placed an initial Neural Network in my Simulink using _gensim_ command. Now it's the time for training the network. On the ...

11 years 前 | 0 个回答 | 0

### 0

个回答提问

Solving homogeneous linear set of equations

I know the ways to solve a set of linear equations of Ax=B form. For example x=inv(A)*B or x=A\B. But the methods doesn't work f...

11 years 前 | 1 个回答 | 0

### 1

个回答Definition of custom intertia properties in SimMechanics

Diagonal elements of the inertia tensor are moments of inertia and the others are products of inertia. You should consider that ...

11 years 前 | 0

提问

Pause and play simulink in programming

Is it possible to pause and play again Simulink block diagram through programming? For more clarification I have to say that I w...

11 years 前 | 2 个回答 | 0

### 2

个回答提问

Export states to workspace in simulink configuration parameters

when I choose to export the states to workspace in my Simulink Blockdiagram a variable is built in the workspace with the name "...

11 years 前 | 1 个回答 | 1

### 1

个回答提问

Problem with running simulink block diagram in discrete mode

I tried to run a Simulink block diagram which consists three _difference_ blocks ... but it's not working properly ... I tried t...

11 years 前 | 1 个回答 | 0

### 1

个回答提问

Is it possible to model hard stops in simmechanics 2nd generation?

How can be possible to model a revolute joint which is limited with upper and lower hard stops in simmechanics 2nd generation? I...

11 years 前 | 1 个回答 | 0