已回答
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 ...

14 years 前 | 0

| 已接受

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

14 years 前 | 0

| 已接受

已回答
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 ...

14 years 前 | 0

已回答
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...

14 years 前 | 0

| 已接受

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

14 years 前 | 0

已回答
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.

14 years 前 | 0

| 已接受

已回答
how to list functions/toolboxes required by a program
help depfun

14 years 前 | 0

已回答
how can I use a name of an external variable in a function?
help inputname

14 years 前 | 0

| 已接受

已回答
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...

14 years 前 | 3

| 已接受

已回答
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...

14 years 前 | 0

| 已接受

已回答
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...

14 years 前 | 0

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

14 years 前 | 0

已回答
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...

14 years 前 | 3

已回答
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.

14 years 前 | 0

| 已接受

已回答
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...

14 years 前 | 3

已回答
User Input
answer = questdlg ( '?', 'Header', 'Yes', 'No', 'Yes' ) strcmp ( answer, 'Yes' )

14 years 前 | 1

| 已接受

提问


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

14 years 前 | 1 个回答 | 0

1

个回答

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

14 years 前 | 0

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

14 years 前 | 0

已回答
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...

14 years 前 | 0

已回答
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); ...

14 years 前 | 0

| 已接受

已回答
Waitbar real time
help timer help waitbar

14 years 前 | 3

已回答
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...

14 years 前 | 0

| 已接受

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

14 years 前 | 0

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

14 years 前 | 0

| 已接受

已回答
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...

14 years 前 | 0

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

14 years 前 | 0

已回答
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 ...

14 years 前 | 0

已回答
can't add axis labels
plot ( magic(100) ) xlabel ( 'my xlabel' ) ylabel ( 'my ylabel' )

14 years 前 | 0

加载更多