Feeds
질문
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...
대략 7년 전 | 답변 수: 1 | 0
1
답변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...
거의 8년 전 | 1
| 수락됨
질문
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...
거의 8년 전 | 답변 수: 1 | 1
1
답변질문
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 ...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
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;...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
10년 초과 전 | 답변 수: 1 | 1
1
답변질문
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...
10년 초과 전 | 답변 수: 0 | 0
0
답변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...
10년 초과 전 | 0
| 수락됨
질문
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...
10년 초과 전 | 답변 수: 0 | 1
0
답변질문
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...
10년 초과 전 | 답변 수: 0 | 0
0
답변질문
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...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
10년 초과 전 | 답변 수: 1 | 0
1
답변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...
10년 초과 전 | 0
질문
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...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
10년 초과 전 | 답변 수: 2 | 1
2
답변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...
10년 초과 전 | 0
| 수락됨
질문
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...
10년 초과 전 | 답변 수: 1 | 0
1
답변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...
10년 초과 전 | 0
| 수락됨
질문
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...
거의 11년 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 11년 전 | 답변 수: 1 | 0
1
답변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...
11년 초과 전 | 6
| 수락됨
질문
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...
11년 초과 전 | 답변 수: 3 | 4
3
답변질문
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...
11년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
11년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
11년 초과 전 | 답변 수: 0 | 0
0
답변질문
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...
11년 초과 전 | 답변 수: 1 | 0
1
답변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...
11년 초과 전 | 0
| 수락됨
질문
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...
11년 초과 전 | 답변 수: 1 | 0