Question


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...

meer dan 11 jaar ago | 2 answers | 0

2

answers

Answered
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...

meer dan 11 jaar ago | 2

| accepted

Question


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 ...

meer dan 11 jaar ago | 2 answers | 1

2

answers

Question


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...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


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...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


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!

bijna 12 jaar ago | 2 answers | 1

2

answers

Question


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...

bijna 12 jaar ago | 1 answer | 0

1

answer

Question


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 ...

bijna 12 jaar ago | 1 answer | 0

1

answer

Answered
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 ...

bijna 12 jaar ago | 0

| accepted

Question


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 * ...

bijna 12 jaar ago | 1 answer | 0

1

answer

Question


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...

bijna 12 jaar ago | 1 answer | 0

1

answer

Question


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...

bijna 12 jaar ago | 1 answer | 0

1

answer

Question


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...

bijna 12 jaar ago | 1 answer | 0

1

answer

Answered
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...

bijna 12 jaar ago | 0

Answered
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...

bijna 12 jaar ago | 0

Question


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 ...

bijna 12 jaar ago | 2 answers | 2

2

answers

Question


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...

bijna 12 jaar ago | 3 answers | 0

3

answers

Question


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...

ongeveer 12 jaar ago | 4 answers | 1

4

answers

Answered
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) && ...

ongeveer 12 jaar ago | 0

| accepted

Question


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...

ongeveer 12 jaar ago | 2 answers | 1

2

answers

Question


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 ...

ongeveer 12 jaar ago | 1 answer | 0

1

answer

Question


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...

ongeveer 12 jaar ago | 1 answer | 0

1

answer

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

ongeveer 12 jaar ago | 0

Question


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...

ongeveer 12 jaar ago | 2 answers | 0

2

answers