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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

Frage


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

fast 11 Jahre vor | 0 Antworten | 0

0

Antworten

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

etwa 11 Jahre vor | 0

| akzeptiert

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

Frage


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

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 11 Jahre vor | 1

| akzeptiert

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

mehr als 11 Jahre vor | 0

Frage


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

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 12 Jahre vor | 0 Antworten | 0

0

Antworten

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

Frage


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

mehr als 12 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

etwa 13 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 13 Jahre vor | 3 Antworten | 0

3

Antworten

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

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
use simulation time in c-code
ssGetT(S) seems to do the trick

etwa 13 Jahre vor | 0

| akzeptiert

Frage


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

etwa 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 13 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


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

mehr als 13 Jahre vor | 2 Antworten | 1

2

Antworten