Community Profile

photo

Dani Tormo


Universitat Politecnica de Valencia

Active since 2012

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • 3 Month Streak
  • Thankful Level 4
  • First Answer

View badges

Feeds

View by

Question


How to avoid error calculation going to infinity when dividing by near-zero values?
Hello, I am calculating the relative error between two signals using the next equation: relative_error(i) = abs((measure...

meer dan 6 jaar ago | 1 answer | 0

1

answer

Answered
Is it possible to save the state of a simulation and launch Simulink from there instead of from T = 0?
Ok, I could finally find it. This is possible using SimState. It is explained <https://fr.mathworks.com/help/simulink/ug/savi...

meer dan 7 jaar ago | 1

| accepted

Question


Is it possible to save the state of a simulation and launch Simulink from there instead of from T = 0?
Hello, I am running a quite slow simulation. I need the system to be in steady state (that is at t = 1 second) and then I mod...

meer dan 7 jaar ago | 1 answer | 1

1

answer

Question


Why in Simulink a Matlab function block changes its output when changing the solver?
Hello, I have in Simulink a Matlab function block with some equations written inside. The problem comes when I change the ...

bijna 8 jaar ago | 1 answer | 0

1

answer

Question


How to invert the function typecast?
Hello, I am using _typecast_ to convert from double to uint8 and store some data in a file: fwrite(fid,typecast(double(da...

bijna 8 jaar ago | 1 answer | 0

1

answer

Question


Why does appear in a 3D mesh plot lines that should not be there?
Following the first example in the _mesh_ documentation: figure; [X,Y] = meshgrid(-8:.5:8); R = sqrt(X.^2 + Y.^2) + eps;...

ongeveer 9 jaar ago | 1 answer | 0

1

answer

Question


Inf and NaN entities in C-code when using Matlab Coder
Hello, I have a script in Matlab where I use Inf and NaN entities. I used Matlab Coder to generate C-code. The problem ari...

meer dan 9 jaar ago | 1 answer | 1

1

answer

Question


Matlab Coder ERROR: Dimension _ is fixed on the left-hand side but varies on the right.
I had the same problem in <http://www.mathworks.com/matlabcentral/answers/79386-error-dimension-_-is-fixed-on-the-left-hand-side...

bijna 10 jaar ago | 0 answers | 0

0

answers

Answered
IDE Link pane does not appear in Configuration Parameters (Matlab 2014a)
Well, I finally got the answer. It seems it changed in newer Matlab versions. I am using 2014a. The problem was that I was us...

bijna 10 jaar ago | 0

| accepted

Question


Why is the "echo" command not recognized when I Build and Execute a Simulink Model for a Texas Instruments Code Composer Studio v5.1 Target Configuration?
When I use Embedded Coder to Build and Execute code for my development board, an error pops up as soon as the code is being exec...

bijna 10 jaar ago | 0 answers | 1

0

answers

Question


Error when trying to run a PIL simulation
Hello, this is the error I got: An error occurred while creating an instance of connectivity configuration class "tic2000...

bijna 10 jaar ago | 0 answers | 0

0

answers

Question


IDE Link pane does not appear in Configuration Parameters (Matlab 2014a)
Hi, does anyone know why the IDE Link pane does not appear in my Simulink Model? I am using Code Composer Studio v5. Is it...

bijna 10 jaar ago | 1 answer | 0

1

answer

Question


Error when compiling a Simulink model using CCSv5
Hello, I have got this error when trying to compile a model for the Texas Instruments F28069 using Embedded Coder: ### Bu...

bijna 10 jaar ago | 1 answer | 0

1

answer

Answered
Simulink to CCS5 for the processor F28069
Hello Suresh, here you have a tutorial on how to go through that process. Mind it is for the F2802X, just look for the approp...

bijna 10 jaar ago | 0

Question


A ramp block going backwards?
Hey people! I am using a _ramp_ block in Simulink driven into an m-function. I am checking the signal every time the m-functi...

bijna 10 jaar ago | 1 answer | 0

1

answer

Question


Tutorial to implement a Simulink model into a Texas Instruments control board?
I am looking for a tutorial on how to generate and run a Simulink model (or Matlab code) in a Texas Instruments control board an...

bijna 10 jaar ago | 1 answer | 0

1

answer

Question


How to use invert values of a logical array
Hello people, the problem seems quite simple but I cannot figure out how to implement it. I have two logical arrays. In on...

ongeveer 10 jaar ago | 2 answers | 1

2

answers

Answered
Subsystem output disconnected automatically before running simulation
Well, apparently I was wrong when saying that in another block it didn't get disconnected. Anyway, I finally solved the probl...

ongeveer 10 jaar ago | 0

| accepted

Question


Subsystem output disconnected automatically before running simulation
Hello people, I have a subsystem. In the mask I added a checkbox in order to change the output of this block. There are tw...

ongeveer 10 jaar ago | 1 answer | 0

1

answer

Answered
It is possible to instantiate a Simscape block?
Mathworks told me that it is not possible to instantiate blocks with "electrical" connections. However, there is a way of doi...

ongeveer 10 jaar ago | 0

| accepted

Question


Is it possible in Simulink to compile an m-function and use it without the simulink coder license?
Hi people! I was wondering if I can get rid of using the Simulink Coder license when running some models in which I have an m...

meer dan 10 jaar ago | 1 answer | 0

1

answer

Question


I have an index vector that I have to change and I want to change the values of them
Hi all! I have a vector: v = [1 0 0 1 1] I got another index vector that says me which of these values have to be chan...

meer dan 10 jaar ago | 1 answer | 0

1

answer

Answered
Is it possible to change Simulink workspace colors?
Ok, I found it. You can change it by doing right click on the background -> canvas color -> _choose one_. It would be nice to...

bijna 11 jaar ago | 6

| accepted

Question


Is it possible to change Simulink workspace colors?
Hi! I want to set the background of the Simulink desktop/workspace to black or any other dark color. The thing is that I am p...

bijna 11 jaar ago | 3 answers | 4

3

answers

Question


In the subsystem mask help in Simulink, how to access pictures in the same folder as the model?
I am writing a mask help in html for a subsystem block. I can access the image by using: <img src="C:\Users\....\mask_help\i...

bijna 11 jaar ago | 1 answer | 0

1

answer

Question


ERROR: Dimension _ is fixed on the left-hand side but varies on the right. How to solve this?
Hi! I am using an embedded Matlab function inside a subsystem mask in Simulink, which is taking from a mask the size of a vec...

bijna 11 jaar ago | 1 answer | 0

1

answer

Question


How to use variables in a subsystem mask
Hi! I am working on a subsystem mask that changes its outputs depending on a popup. The thing is that I have to know which wa...

bijna 11 jaar ago | 0 answers | 0

0

answers

Question


How to protect an Embedded Matlab Function in Simulink?
Hi, I have a subsystem which has a Matlab function. This subsystem has a parameter which specifies the size of an input vecto...

bijna 11 jaar ago | 1 answer | 0

1

answer

Answered
How to protect an Embedded Matlab Function in Simulink?
Finally! Kaustubha gave me a clue to get it working. The thing how I did it is: 1- In Simulink copy the code from the e...

bijna 11 jaar ago | 0

| accepted

Question


How to invert the index of a vector in Simulink?
It is a simple question but I've been looking for a solution without luck! Let's say I have this vector: v = [1 2 3] A...

bijna 11 jaar ago | 1 answer | 0

1

answer

Load more