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

oltre 14 anni fa | 0

| accettato

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

oltre 14 anni fa | 0

| accettato

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 0

| accettato

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 0

| accettato

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 0

| accettato

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

oltre 14 anni fa | 3

| accettato

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

oltre 14 anni fa | 0

| accettato

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 3

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

oltre 14 anni fa | 0

| accettato

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

oltre 14 anni fa | 3

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

oltre 14 anni fa | 1

| accettato

Domanda


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

oltre 14 anni fa | 1 risposta | 0

1

risposta

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 0

| accettato

Risposto
Waitbar real time
help timer help waitbar

oltre 14 anni fa | 3

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

oltre 14 anni fa | 0

| accettato

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 0

| accettato

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 0

Carica altro