已回答
how to combine multiple output in one lines?
help fprintf help disp

12 years 前 | 1

已回答
How to delete persistent variables in a timer fcn
if you want to keep your current methodology you need to add a "clear" option to your timer callback function which gets called ...

12 years 前 | 0

已回答
Dynamic Legends plot option (error: two legend lines for each plot)
Is this the type of feature your after: figure; x = [0:0.01:2*pi]; hold on; plot ( x, sin (x), 'DisplayName', 'P...

12 years 前 | 0

已回答
What is missing from MATLAB?
From R2012b onwards - Menus are missing! :)

12 years 前 | 1

已回答
How to concatenate in a loop?
yes.

12 years 前 | 0

已回答
The best way to save huge amount of data.
refreshing the waitbar 12000 times will actually take quite a long time, try refreshing every 100 files

12 years 前 | 1

已回答
How can I make the contents of a pop-up box in a GUI dependent on the selection of another pop-up box in the same GUI?
The code below should show you an example of what you could do linking 2 pop menus and contents. Maybe from that you can work...

12 years 前 | 0

| 已接受

已回答
popupmenu in GUI, string call backs.
<https://www.mathworks.co.uk/matlabcentral/fileexchange/24861-41-complete-gui-examples This is a good place to start learning ab...

12 years 前 | 1

已回答
Creating variable whose name is part of a string
see <http://www.mathworks.co.uk/matlabcentral/answers/56124 this question> Basically - dont use eval - its bad! use dynamic ...

12 years 前 | 2

| 已接受

已回答
Adding additional Information to a figure/plot
You could get the x and y limits from your plot and then calculate a position for the <http://www.mathworks.co.uk/help/matlab/re...

12 years 前 | 0

提问


R2012b - Right Click Toolstrip items -> add to shortcuts - Not on all items
In R2012b on the toolstrip you can add items that you commonly use in the toolstrip to your quick access toolbar (QAT) - however...

12 years 前 | 1 个回答 | 1

1

个回答

提问


Matlab publish command use cases
I use Matlab every (working) day and have found little practical use for the publish command - it looks good in demos but in a r...

13 years 前 | 2 个回答 | 0

2

个回答

提问


Problem with built in and interp1
All, I'm having an issue that built in cant find the native interp1 function, see code below: % initialsie x = [0:0....

13 years 前 | 1 个回答 | 0

1

个回答

已回答
How to vectorize these codes
help isnan

13 years 前 | 0

已回答
Reading in and Evaluating strings from standalone GUI using appdata
Am I correct in assuming the user enters *any* string which then gets executed in eval? This is *NOT* advisable.... for exampl...

13 years 前 | 0

已回答
Using plot command in a loop
using eval is almost always a bad idea. Store your data as Data(1), Data(2) etc..... rather than Data1, Data2 etc.... ...

13 years 前 | 0

提问


uitree & uitreenode in R2011 & R2012
Hi all, Does anyone know if uitree or uitreenode changed from R2010 onwards? I have a function which I am planning on upload...

13 years 前 | 1 个回答 | 1

1

个回答

已回答
Copy the value from a variable to a new name
in your code - filename is a number so you have two choices 1. use num2str to change it from a number to a string new...

13 years 前 | 0

| 已接受

已回答
ismember function too slow
if you want to keep it in the loop you can do: for n=1:length(B) if min (abs( A-B(n)) ) == 0; % do somet...

13 years 前 | 0

已回答
GUI with moving marker
you need to store the handle to the marker, e.g. d = dialog ( 'windowstyle', 'normal' ); ax = axes ( 'parent', d, 'nex...

13 years 前 | 0

已回答
how to make a local variable in the "M-file" to workspace?
assignin ( 'base', 'dialVal', dialVal )

13 years 前 | 2

| 已接受

已回答
Is there any workaround for the slow performance of path.m?
can you show your code? Are you adding network paths? I use addpath in the startup.m with no problems (runs very quickly, a ...

13 years 前 | 2

| 已接受

已回答
Storing persistent variable in a standalone GUI
There is no reason why you shouldn't be able to update your settings in the XML file when its compiled - can you capture an erro...

13 years 前 | 0

已回答
Where can I find code that is written to plot functions better than the built-in MATLAB plotting functions?
Sounds like you want to perform a copy that is vector graphics - rather than a snapshot. I used to export images to PPT but...

13 years 前 | 0

已回答
Is it possible to create a single executable file from a GUI developed in GUIDE in MATLAB 6.5.1?
If I recall v6.5 was before the change made to the compiler which introduced the MCR. You should still be able to compile it ...

13 years 前 | 0

已回答
disable border blue in scatter plot
you also need to set the *markeredgecolour* property

13 years 前 | 0

| 已接受

已回答
Adding Lines to Several Plots
You need to keep hold on the axes handle in each figure, then plot on them specifically: plot ( axesHandle1, X, Y ); plo...

13 years 前 | 0

| 已接受

已回答
2D contour in 3D
rotate3d on

13 years 前 | 0

已回答
Text output in subplot
ax = subplot(3, 2, 5); text(0.5,0.5,countstr); set ( ax, 'visible', 'off')

13 years 前 | 0

| 已接受

加载更多