Réponse apportée
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 ...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
How to stop execution of m file
try ctrl-c at the command line.

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
want to find the particular column when the column content is given
find(a==40)

plus de 14 ans il y a | 0

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

plus de 14 ans il y a | 0

Réponse apportée
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.

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
how to list functions/toolboxes required by a program
help depfun

plus de 14 ans il y a | 0

Réponse apportée
how can I use a name of an external variable in a function?
help inputname

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 3

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
Excluding weekend gaps from financial timeseries plots
make the gaps NaN and the plot will skip the NaN data.

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 3

Réponse apportée
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.

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 3

Réponse apportée
User Input
answer = questdlg ( '?', 'Header', 'Yes', 'No', 'Yes' ) strcmp ( answer, 'Yes' )

plus de 14 ans il y a | 1

| A accepté

Question


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

plus de 14 ans il y a | 1 réponse | 0

1

réponse

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

plus de 14 ans il y a | 0

Réponse apportée
Open Excell file with dialog box
Both of the following work on my PC: winopen ( 'filename.xls' ) system ( 'filename.xls' )

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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); ...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Waitbar real time
help timer help waitbar

plus de 14 ans il y a | 3

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

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

plus de 14 ans il y a | 0

Réponse apportée
Show uitable
start with the uitable 'visible' property set to 'off'. The in the callback of your button change the visibility to 'on'. He...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

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

plus de 14 ans il y a | 0

Réponse apportée
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 ...

plus de 14 ans il y a | 0

Réponse apportée
can't add axis labels
plot ( magic(100) ) xlabel ( 'my xlabel' ) ylabel ( 'my ylabel' )

plus de 14 ans il y a | 0

Charger plus