Réponse apportée
Is there any way to implement autocomplete function in an edit text with a popup menu?
I have done this two years ago but it was not easy I must say. I finally used a keyPressFunction to detect which strings were t...

environ 11 ans il y a | 0

| A accepté

Réponse apportée
Index exceeds matrix dimensions
your array only contains four elements (first line of your code) in your loop you are trying to acces arr{i} where i goes from ...

environ 11 ans il y a | 0

Réponse apportée
How can we get back our original image after jumbling. Is there any reverse method in matlab??
you can only do this when you also have stored information on the indices that were used for the shuffling. _for example_ if ...

environ 11 ans il y a | 0

| A accepté

Réponse apportée
How to save all values generated from a for statement in different variables
you could try to use a structure that would look something like this: for i =1:intn currentName = ['Ls' num2str(i)] r...

environ 11 ans il y a | 0

Réponse apportée
How can I find X for given Y value in a fitted curve?
you can do this with the function Y = feval(cfit,X); which you could have easily found yourselve if you would have type...

environ 11 ans il y a | 0

Réponse apportée
can i use more than one hold on function in same code?
the question is not completly clear (it helps if you would use the code lay-out option so that is better parsed), but it does no...

environ 11 ans il y a | 0

Réponse apportée
Can i find points between two points in a plot?
you can use polyfit to find the equation of the straight line between the two points and then evaluate the X-values for which yo...

environ 11 ans il y a | 0

Question


why does I-H-O neural network predict constant values?
my neural network was working reasonably, except for the prediction of negative values sometimes which is impossible physically ...

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

0

réponse

Réponse apportée
how to use urlread in post method
Turns out it was not possible to do what I wanted in Matlab so I had to migrate to Selenium-C#-chrome to get the job done. In th...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
How to plot this function?
just create a vector of relevant CO2 concentrations and call your temperature funciton for each value so: carbon = 1:10:...

plus de 11 ans il y a | 0

Réponse apportée
error in while loop
shouldn't it just be while ~con because now your while condition is never true so of course the code within your while...

plus de 11 ans il y a | 0

Question


how to use urlread in post method
I have a website from which I want to download data. However, the url-link only refers to a form on which two parameters needs t...

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

1

réponse

Réponse apportée
how to write a matrix in excel by changing cells after loop
to speed up your code you can use the actxserver instead of xlswrite %Open an ActiveX connection to Excel h = ac...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
How to write matrix to text with comma separate but first column should be string
You can use sprintf to specify the type of output you want to write (%s for strings and %f for floats) and num2str to convert yo...

plus de 11 ans il y a | 0

Question


NET.addAssembly given arithmetic overflow
I am using a toolbox that makes use of a NET.addAssembly (developed by DHI namely to read in result files of their software). I ...

plus de 11 ans il y a | 2 réponses | 0

2

réponses

Question


mxCreateString usage when calling matlab
I try to call a function from mex in matlab and for this reason I made a mxArray because the function has two inputs namely a fi...

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

1

réponse

Question


how to know size of class
I am using a toolbox that makes use of .Net assembly but unfortunately I am not at all familiar with this so I hope that you can...

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

0

réponse

Réponse apportée
Still have .m file, but lost all UI elements in GUIDE
Nobody that knows what was going on here? I am encountering the same problem, all my uicontrols disappear when I make adjustment...

plus de 12 ans il y a | 0

Réponse apportée
special kind of sort
for some strange reason I did not get notification that answers were posted on this topic (although I indicated to be alerted) s...

presque 13 ans il y a | 0

Question


special kind of sort
My data has two columns and I am trying to find a way to sort the rows such that the values in the second column appear before t...

presque 13 ans il y a | 3 réponses | 0

3

réponses

Question


GUI: Update listbox while editing text
I want a listbox to be dynamically updated when I change the input in an edit text box. The standard behavior of the GUI is to e...

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

0

réponse

Question


using ssSetNumInputPorts but no change in inputports...
I am trying to set the number of input ports of my s-function block (written in C-code). It seems to be easy but apparently I am...

plus de 13 ans il y a | 3 réponses | 0

3

réponses

Réponse apportée
4D input into simulink model
the problem I was having was really 2-D since time is not considered as a dimension and the values are ofcourse also not a dimen...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
use simulation time in c-code
ssGetT(S) seems to do the trick

plus de 13 ans il y a | 0

| A accepté

Question


how to read in variable from workspace in s-function written in C without simulink crashing
When I add the following code to my mdlOutputs function, the mex compiler does not give any errors, but when I run my simulink ...

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

1

réponse

Question


use simulation time in c-code
I am trying to write an s-function in C-code (to have a better simulation performance). In my simulink model I created first I i...

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

1

réponse

Question


simulink coder - code generation not visible in configuration parameter pane
I am very new to simulink and I am trying to figure out how I can convert a model that I created to s-code so that I can use...

plus de 13 ans il y a | 2 réponses | 1

2

réponses

Question


4D input into simulink model
Is it possible to start with input to a simulink model that has 4 dimensions (location(x), time(t), statevariable(s), value(y)),...

plus de 13 ans il y a | 2 réponses | 1

2

réponses