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...
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 ...
9年弱 前 | 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...
9年弱 前 | 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;...
10年弱 前 | 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...
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...
11年弱 前 | 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...
11年弱 前 | 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...
11年弱 前 | 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...
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...
11年弱 前 | 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...
11年弱 前 | 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...
11年弱 前 | 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...
11年弱 前 | 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...
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...
11年弱 前 | 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...
11年弱 前 | 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...
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...
11年弱 前 | 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...
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 件の回答 | 5
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...
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...
12年弱 前 | 1 件の回答 | 0