Community Profile

### Simon Fraser University

12 total contributions since 2011

View details...

Contributions in
View by

Question

How to run a trained keras model in simulink?
I have developed a Keras LSTM model to predict a time series signal for me. Now I need to use this model in MATLAB Simulink. Any...

2 years ago | 0 answers | 0

### 0

Problem in copying figure in MATLAB 2014b
try this: in the figure, go to edit>copy option> select metfile it worked for me. now I can easily use copy option with...

6 years ago | 0

Question

why the time "t" inside the ode solver OutputFcn is not a scalar?
For an ODE problem that I have, I need to evaluate some values right after each successful ODE step. therefore I decided to use...

6 years ago | 0 answers | 0

### 0

Question

Definite integral in (embedded) Matlab function, with passing additional parameters to the integrand
Hi, I have a simulation file to model the dynamic behaviour of system, at each time step , I need to evaluate a time-independ...

6 years ago | 1 answer | 0

### 1

Question

how to make x(t) a real function in matlab symbolics?
Hi, I have a rotation matrix (R) in which I used elements such as sin(x(t)), to do this I have defined x and t as syms ...

8 years ago | 0 answers | 0

### 0

Question

In Simmechanics, Should the body sensor give zero (angular) velocity or not if a body frame is used?
Hi, I have a simmechanics model and I am using a body sensor to record the angular velocity of a long rod. the rod is rota...

8 years ago | 0 answers | 0

### 0

Why Body Sensor give me non zero position curve but zero velocity?
I found the problem, I was defining the motion but I was only defining the position signal, then I added the velocity and acc...

8 years ago | 0

Question

Why Body Sensor give me non zero position curve but zero velocity?
Hi, I have a simmechanic model, I connected a body sensor to the body which is moving. When I sense the position, I have a no...

8 years ago | 2 answers | 0

### 2

Messuring absolute speed of CS in SimMechanics
I am experiencing the same problem, The position curve is not zero but all the velocity and angular velocities are zero!!!! and ...

8 years ago | 0

Question

Can I edit and change the value of global variables inside the called functions?
Hi, I am doing some optimization and I have 3 *.m scripts: 1- main 2- cost function 3- constraints function -----...

8 years ago | 2 answers | 0

### 2

Question

Error "The system cannot find the path specified" When I try to install virtual reality (vrinstall)?
I tried to install virtual reality builder but I get the error "'C:\Program' is not recognized as an internal or external comman...

9 years ago | 1 answer | 0

### 1

Question

How to check if a key is pressed in each iteration in simulink?
Hi, I am controlling a system using simulink (analog input and output of real time toolbox) in which at each iteration I need t...

9 years ago | 1 answer | 0