질문


How to pass from [1x1] to single signal 1 in Simulink?
I have an error and I don't know how to solve it. There are several errors: - Dimension 1 is fixed on the left-hand side but...

11년 초과 전 | 답변 수: 2 | 0

2

답변

답변 있음
How to decatenate or discatenate (opposite of concatenate) a vector in simulink?
Ok, job done. I used the _submatrix_ block for the inputs and the _concatenate_ block for the outputs. Using the _submatri...

11년 초과 전 | 2

| 수락됨

질문


How to decatenate or discatenate (opposite of concatenate) a vector in simulink?
Hi, I am building a general block which needs and generates several signals. The main idea is to connect one block to the ...

11년 초과 전 | 답변 수: 2 | 1

2

답변

질문


It is possible to instantiate a Simscape block?
I am mounting a three-phase converter using the SimPowerSystems library which has a lot of cells. These cells have IGBTs and Dio...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to extrapolate a sinusoidal signal in simulink?
Hi, I need to extrapolate a sinusoidal signal because I need to know its value before a certain step time. My sinusoidal s...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Given a vector, how to pair them by nearest?
Hi, I have a vector with values. I have to pair them by nearest. Is there any magic command to do it? Thanks!

거의 12년 전 | 답변 수: 2 | 1

2

답변

질문


How to set a fixed execution period of an M-Function in simulink?
Hi, I'm using an M-function in simulink and checking the execution period of it I realized that is variable. It can vary from...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


Two errors: "Fixed-point error" and then "Expected a numeric value. Found a embedded.fi (double)"
I am using a _sine_ block and an _M-Function_. Everything was working fine yesterday but I don't know if I changed something in ...

거의 12년 전 | 답변 수: 1 | 0

1

답변

답변 있음
Two errors: "Fixed-point error" and then "Expected a numeric value. Found a embedded.fi (double)"
Ok, I solved the problem isolating the _sine_ block from the _M-function_ block and changing what the error proposes *only* for ...

거의 12년 전 | 0

| 수락됨

질문


Generate a variable sine wave during simulink simulation
Hi, I want to generate a sine which amplitude and delay is changing during a simulation. From this formula: out = M * ...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


I have two axes, one over another, but when I plot in which is below the other one is hidden. Why?
Hi, i just want to keep which is below on the GUI back to any other plot and I have over it. How to do it without plotting...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


It is possible to show an axes over a static text?
Hi! I am showing a moving axes together with the mouse but I want it to be showed over all the static texts I have on the GUI...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


It's possible to add two scrollbars to see all the GUI when it's bigger than the computer screen resolution?
Hi, I have a GUI which size is 1200x800. The problem comes when I run the GUI on a computer which its maximum resolution is 1...

거의 12년 전 | 답변 수: 1 | 0

1

답변

답변 있음
Tag of one of the axes erased after reopening GUIDE project.
I don't know what I did but now I don't have this problem anymore. Probably because I erased some callback functions of this axi...

거의 12년 전 | 0

답변 있음
Why guidata() doesn't work on an user function?
Ok, returning _handles_ and saving them at the main callback function it works. But still without knowing why guidata() doesn...

대략 12년 전 | 0

질문


Why guidata() doesn't work on an user function?
Hi, I have a variable stored in _handles.switches_. I get into a callback function. I change this variable and at the end ...

대략 12년 전 | 답변 수: 2 | 2

2

답변

질문


Tag of one of the axes erased after reopening GUIDE project.
Hello, I have a problem and I don't know where it comes from. I have a GUI with four axes. One of these I use it to show a...

대략 12년 전 | 답변 수: 3 | 0

3

답변

질문


Why after plotting on axes the ButtonDownFcn doesn't work?
Hi, I have a GUI with 3 axes. Before plotting the data the three functions axesX_ButtonDownFcn(...) work, but when I plot the...

대략 12년 전 | 답변 수: 4 | 1

4

답변

답변 있음
Remove the rows/columns with single values of a matrix
This is the code I have and it works, but maybe it is not efficient: for i = 2:length(A) - 1; if A(1,i) ~= A(1,i-1) && ...

대략 12년 전 | 0

| 수락됨

질문


Remove the rows/columns with single values of a matrix
Hello, I have a matrix quite big (A < 23 x 250000 >). I want to evaluate the first row A(1,:) and eliminate the columns where...

대략 12년 전 | 답변 수: 2 | 1

2

답변

질문


I have 2 axes on a GUI. How to show the cursor on both plots at the same X axis value?
Hello, I have a GUI with two diferent axes with ploted data. I can activate the cursor but only on one of them. I want to ...

대략 12년 전 | 답변 수: 1 | 0

1

답변

질문


How to change a single value on a different vector cell each time? (simulink)
Hello, in Simulink I have a vector V = [1 0 2 1]. I make a calculation to know which of those four values I have to change. T...

대략 12년 전 | 답변 수: 1 | 0

1

답변

답변 있음
How to get the cell number with the maximum value of a vector with Simulink
Thanks man! I couldn't find this box.

대략 12년 전 | 0

질문


How to get the cell number with the maximum value of a vector with Simulink
Hello everybody! I am trying to get the number of the cell with the maximum value of a vector. I know to do this in matlab...

대략 12년 전 | 답변 수: 2 | 0

2

답변