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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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...
10 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 1 个回答 | 0