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

quasi 11 anni fa | 0

| accettato

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

quasi 11 anni fa | 0

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

quasi 11 anni fa | 0

| accettato

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

quasi 11 anni fa | 0

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

quasi 11 anni fa | 0

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

quasi 11 anni fa | 0

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

quasi 11 anni fa | 0

Domanda


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

circa 11 anni fa | 0 risposte | 0

0

risposte

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

circa 11 anni fa | 0

| accettato

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

circa 11 anni fa | 0

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

circa 11 anni fa | 0

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

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

circa 11 anni fa | 1

| accettato

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

oltre 11 anni fa | 0

Domanda


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

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 0 risposte | 0

0

risposte

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

Domanda


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

oltre 12 anni fa | 3 risposte | 0

3

risposte

Domanda


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

circa 13 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 13 anni fa | 3 risposte | 0

3

risposte

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

| accettato

Domanda


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

oltre 13 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 13 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 13 anni fa | 2 risposte | 1

2

risposte

Domanda


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

oltre 13 anni fa | 2 risposte | 1

2

risposte