Réponse apportée
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 ...

environ 10 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 10 ans il y a | 0

Réponse apportée
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...

environ 10 ans il y a | 0

Réponse apportée
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 ...

environ 10 ans il y a | 0

| A accepté

Réponse apportée
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 ...

environ 10 ans il y a | 0

Réponse apportée
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...

environ 10 ans il y a | 0

| A accepté

Question


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

environ 10 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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,...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Question


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

plus de 10 ans il y a | 1 réponse | 0

1

réponse

A résolu


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

plus de 10 ans il y a