Respondida
Saveas (visible, off)
When you create your figure set the position to be off your screen, i.e. 'position', [10000 10000 800 600] That way it ...

casi 14 años hace | 0

| aceptada

Respondida
How to stop execution of m file
try ctrl-c at the command line.

casi 14 años hace | 0

| aceptada

Respondida
App standalone doesn't open file .txt from window - sound message error
Run the exe from the dos command - that way you will see what the error message is saying - that way you will work out what the ...

alrededor de 14 años hace | 0

Respondida
rotate html formatted text (java) object
FYI: I have yet to find a javacomponent solution to this, I have instead made a number of different rotated text objects to whi...

alrededor de 14 años hace | 0

| aceptada

Respondida
want to find the particular column when the column content is given
find(a==40)

alrededor de 14 años hace | 0

Respondida
How to create callback function from matlab code
set ( handles.button, 'Callback', {@FunctionHandle inputArguments} ); *edit example:* function test d = dialog ( 'wind...

alrededor de 14 años hace | 0

Respondida
error using list box, please help!!!
you are overwriting handles.edit1, see: handles.edit1 = X handle with the number X. Remove this and it should be ok.

alrededor de 14 años hace | 0

| aceptada

Respondida
how to list functions/toolboxes required by a program
help depfun

alrededor de 14 años hace | 0

Respondida
how can I use a name of an external variable in a function?
help inputname

alrededor de 14 años hace | 0

| aceptada

Respondida
How to show legend as subfigure
With some manipulation of the legend position handle you can: *EDIT: to update the text in legend* subplot(1,4,1), plot([1:1...

alrededor de 14 años hace | 3

| aceptada

Respondida
cannot overwrite an existing file
this can happen when you have the same file open in the editor twice - sanity check that is not the case - otherwise Matlab must...

alrededor de 14 años hace | 0

| aceptada

Respondida
is there fast way for this problem
are you preallocating? use the profiler to help locate the time where the code takes longest profile on % run your code...

alrededor de 14 años hace | 0

Respondida
Excluding weekend gaps from financial timeseries plots
make the gaps NaN and the plot will skip the NaN data.

alrededor de 14 años hace | 0

Respondida
Why should I stay?
I tend to come and go on this forum depending on how much spare time I have, or available time at lunchtime, I am amazed about t...

alrededor de 14 años hace | 3

Respondida
how to store vector-valued function value into a single vector variable
[u(1) u(2) u(3)] = myvec(7); or a better way is to change your function so that it outputs a vector rather than 3 scalars.

alrededor de 14 años hace | 0

| aceptada

Respondida
Matching two numbers using only 2 decimal points
compare = @(n1,n2,n_dcp) round(n1*10^n_dcp)==round(n2*10^n_dcp); >> compare(1.23,1.234,2) ans = 1 >> compare(1.23,1...

alrededor de 14 años hace | 3

Respondida
User Input
answer = questdlg ( '?', 'Header', 'Yes', 'No', 'Yes' ) strcmp ( answer, 'Yes' )

alrededor de 14 años hace | 1

| aceptada

Pregunta


rotate html formatted text (java) object
Hi, I am creating a multi line text object which is formatted by html, see sample code below: d = dialog ( 'windowstyle', '...

alrededor de 14 años hace | 1 respuesta | 0

1

respuesta

Respondida
How to resize a GUI (which contains many items)
d = dialog ( 'windowstyle', 'normal', 'resize', 'on' ); uicontrol ( 'parent', d, 'style', 'pushbutton', 'units', 'normalized'...

alrededor de 14 años hace | 0

Respondida
Open Excell file with dialog box
Both of the following work on my PC: winopen ( 'filename.xls' ) system ( 'filename.xls' )

alrededor de 14 años hace | 0

Respondida
Windows size for Input in dialog box
Its quite easy to make a copy of the inputdlg m code, the FigWidth variable is hardcoded - so either override the hardcoded valu...

alrededor de 14 años hace | 0

Respondida
find row with certain values
similar to the intersect answer - but I recoded intersect as its quite slow: x=[1 2 3;4 5 6;3 2 1]; [a b]=find(x==4); ...

alrededor de 14 años hace | 0

| aceptada

Respondida
Waitbar real time
help timer help waitbar

alrededor de 14 años hace | 3

Respondida
pchip extrapolation?
your extrapolating quite far (compared to the source data), plot the data and you will see why the numbers are not what "you exp...

alrededor de 14 años hace | 0

| aceptada

Respondida
Setting name of variable equal to name of imported file
if you must do it then use dynamic fieldnames metadata.(sch_metadata.name) = cycle

alrededor de 14 años hace | 0

Respondida
Show uitable
start with the uitable 'visible' property set to 'off'. The in the callback of your button change the visibility to 'on'. He...

alrededor de 14 años hace | 0

| aceptada

Respondida
how to calling out the data in the matrix
do you mean value = t(1,3); .... if so you should look at: <http://www.mathworks.co.uk/help/techdoc/learn_matlab/bq...

alrededor de 14 años hace | 0

Respondida
writing an image into a new folder
help saveas e.g. SAVEAS(H,fullfile ( 'new', 'FILENAME' ),'FORMAT')

alrededor de 14 años hace | 0

Respondida
how I can change this multi-loop to reduce the computation time in Matlab?
have you preallocated the variable intersection? If not doing that will speed it up. The other thuing to do is to use the ...

alrededor de 14 años hace | 0

Respondida
can't add axis labels
plot ( magic(100) ) xlabel ( 'my xlabel' ) ylabel ( 'my ylabel' )

alrededor de 14 años hace | 0

Cargar más