Beantwortet
Simulink Real-Time (SLRT) and external mode: slow update
Hello Gijs, Basically, there is not much that you can do about this in simulink. The more data that has to be transferred in ...

fast 10 Jahre vor | 0

| akzeptiert

Beantwortet
My Simulink model is creating to many samples, how can I solve this?
Basically, your simulink model is solving differential equations. If you make the step-size too large as you can do with fixed-s...

fast 10 Jahre vor | 0

Beantwortet
Can simulink tell me how much storage space on my Arduino is used?
Hi, Simulink shows you the memory details after you've built the model onto the arduino UNO (also works on other verions). Ju...

fast 10 Jahre vor | 0

Beantwortet
how to store a matrix in variables
I think this is what you want: input_vector=[ 1 2 3 4 5 6 7 8 9 10]; for i=1:M p(i)=input_vector(i); end ...

fast 10 Jahre vor | 0

| akzeptiert

Beantwortet
why does the PI controller not give an output when its inputs are gotten from a calculated value rather than a gen?
The information provided is rather limited, but I'm assuming that you removed the generator from your loop and replaced it with ...

fast 10 Jahre vor | 0

Beantwortet
Change column and row
Hello, You can swap columns and rows quite easily in matlab. For example: given matrix : matrix=[1 2 3 4 5;6 7 8 9 10...

fast 10 Jahre vor | 0

| akzeptiert

Frage


Unable to run simulink dsp FFT block on target pc using simulink real-time.
Hello, I am trying to do a real-time FFT operation on my target pc. I can run many different sorts of models using my set-up....

fast 10 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
About updating value of handles whithin loop
Matlab GUI's use callbacks to handle the button interrupts. However, the callbacks cannot interrupt each other. Matlab use a seq...

mehr als 10 Jahre vor | 0

Beantwortet
Arduino Support Package: Reading PWM From Digital Pin
Hi Elliot, I'm currently dealing with similar issues in Simulink. What I've noticed is that matlab does not directly support r...

mehr als 10 Jahre vor | 0

Beantwortet
How to use relative path to use matlab file in another computer
You can use .\<folder_name>. The '.\' denotes that the current folder should contain the specified folder. So, having the code i...

mehr als 10 Jahre vor | 2

| akzeptiert

Beantwortet
Slow performance using polyfit on large arrays - how to speed up?
I don't believe the problem is that the for loop itself is slow. However, you have a tremendous amount of loops. If the opera...

mehr als 10 Jahre vor | 0

Beantwortet
Variable size of inline parameters
I solved it myself by using an empty variable container of size 100x1. I later fill up the container with the number of variable...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
I am newbei matlab coder. i want to put a limit range in gui edit text and also want to update this value in simulink model i dit it but the value didn't update when i enter the value in edit text????? Any help is appreaciable....
str = get(hObject,'String'); newValue = str2double(str); % Do the change if it's valid if ~isnan(newValue)&& newVal...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
Dear sir, How can I link between two interface or three interface of GUI? to make it more friendly user.
This actually quite a complex problem, with a very simple solution. I've encountered the same problem a couple of years ago and...

mehr als 10 Jahre vor | 2

| akzeptiert

Beantwortet
Open MATLAB file from another directory
I'm not sure I fully understand your question, but I think you mean just to load an image that is not on your current path. T...

mehr als 10 Jahre vor | 0

Beantwortet
Hello guys, i have a push button and I want to laod m-file when I press it, please answer ;)
under the callback of the button in the code of that gui, put something like this: evalin('base','<your_m_file>') This w...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
How do I create an iterated or recursive formula that includes the product of a sequence?
Hello, there are a number of errors in this code, but all easy enough to fix. I can see that you tried to make 2 loops in 1,...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
Error in port widths or dimensions.
Hello Leo, It is difficult to see from the pictures, but it looks like you have predefined the sizes of your signals. The dim...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
Checking for Singularities in Simulink Model
Hello Vicente, Usually these errors occur when the input to an integrator block has a slope of inf. Since it happens at tim...

mehr als 10 Jahre vor | 0

Beantwortet
Want to remove 'noise' from a matrix.
If input is a non-negative single column then you can use the following simple filter: FilterValue=20; input(input<F...

mehr als 10 Jahre vor | 0

| akzeptiert

Frage


Variable size of inline parameters
I have made a standalone application out of a Simulink model using the Simulink coder. In this model I have a selection of inli...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Gelöst


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

mehr als 10 Jahre vor