Robert Cumming
Matpi
Matlab consultant. Specialise in data analysis, modelling and 2&3D plotting. Available for consultancy roles - see website for contact details. Developer of advanced GUI framework (all Matlab versions R2008a onwards) - matpigui. Free demo versions available from www.matpi.com Contact details: www.matpi.com
Statistics
RANK
169
of 295,448
REPUTATION
675
CONTRIBUTIONS
7 Questions
304 Answers
ANSWER ACCEPTANCE
71.43%
VOTES RECEIVED
138
RANK
2,492 of 20,227
REPUTATION
684
AVERAGE RATING
4.80
CONTRIBUTIONS
9 Files
DOWNLOADS
16
ALL TIME DOWNLOADS
5934
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
How do I suppress the splash screen for compiled applications in 2014b?
I had a similar issue (not wanting the splashscreen to be displayed every time you run an exe). One way to resolve this is ...
9 years ago | 0
Guide Multiple Axes to display images
You find all the axes objects but do nothing with them... I guess you want: rcFiles = dir('*.jpg'); % the folder in whi...
9 years ago | 0
Does keyboard slows down the code?
Its to do with the JIT optimisation, the same is true if you insert conditional debug statement in the code, Matlab needs to pre...
9 years ago | 0
| accepted
MATLAB Editor bug? "There is no anonymous function"
Its because your m file is in essence a script. Try creating a larger script and but a break point in the anonymous function an...
9 years ago | 0
MATLAB 2015 slider gui question
You have 2 options (that I can currently think of) 1 - Using core Matlab - you need to combine the GUI mouse motion callback ...
9 years ago | 0
Load parts of VERY LARGE text file content and create a smaller matrix
Use fopen to open the file then parse it line by line saving what you need and ignoring the rest. Remember to close the file wi...
9 years ago | 0
plotting with changing variable values with switch case command
you need to specify the hold command before you start creating the plots.
9 years ago | 0
How to move or relocate the figure window and message box?
The reason you can only move window 3 is because by default an inputdlg is Modal (i.e. you cant access any other GUI until that ...
10 years ago | 0
| accepted
How are structs handled when passed to a function?
As I understand it when you store data in structs you are storing 2 things 1. The matrix/variable 2. The address of the ...
10 years ago | 2
| accepted
Labels not showing up on Graphs
you are creating variables called xlabel and ylabel, you need to do: xlabel ( gTitles(1) ) ylabel ( gTitles(2) ) or b...
10 years ago | 0
| accepted
Transparent PNG file on background in Matlab GUI
I know this is an old post - but if anyone comes across this you may be interested in <http://undocumentedmatlab.com/blog/transp...
10 years ago | 2
MATLAB GUI - Set transparent background color for components
I know this is an old post - but if anyone comes across this you may be interested in <http://undocumentedmatlab.com/blog/transp...
10 years ago | 0
GUI plotting to axes once a seperate figure is opened
are you specifying the axes in the plot command? If not Matlab will plot in the current active axes (gca). Its advisable to ...
10 years ago | 0
RecursionLimit reached without applying recursion calls.
Type in Matlab le = lasterror That will give you information on (unsurprisingly) the last error - this should contain i...
10 years ago | 0
How to change the linewidth in a figure before actually plotting some?
set(0,'DefaultLineLineWidth',2) This will set the line width for all plots in the current session The technique your u...
10 years ago | 2
How to create a dialog with multiple fields by using inputdlg on Mac?
on your MAC try: which -all inputdlg to check that you haven't got a function name clash anywhere... What is *line 53...
10 years ago | 0
| accepted
How to make plot in Matlab 2014 looked the same as Matlab 2013 default?
Is it the default colormap which is the problem? The default changed. You should be able to get back to the R2013 map using...
10 years ago | 0
How do i expand this figure so all graphs fit perfect
you may be interested in this <http://www.mathworks.com/matlabcentral/fileexchange/27991 FEX submission> which allows for you to...
10 years ago | 0
How to get back red waitbar?
I played around with the java this afternoon and got this to work: hBar = waitbar ( 0, 'Please Wait....' ); % now use ...
10 years ago | 0
| accepted
Problems with legend in R2014b
The addition of a title to a legend in the past was a by product of the legend being built on a axes. It was not a deliberate de...
10 years ago | 1
title on legend 2014b
In the previous versions of Matlab legend was built on an *axes*. Access to the title property of the legend wasn't (as far a...
10 years ago | 1
How do you extract the actual name of your input variable in a function?
can you not just do this: function bmp=array2bmp(a) bmp=uint8(a); nam=strcat(inputname(1),'.bmp'); i...
10 years ago | 0
How to change background color of GUI
does this do what you want: set ( 0, 'DefaultFigureColor', [1 0 0] ) you can se the colour of any individual figure: ...
10 years ago | 0
Matlab warning points to the wrong line
This could also happen if your file is locked by *mlock*. If you restart Matlab does the problem remain?
10 years ago | 0
Changing length of bar in legend
You can change the fontSize property which makes it smaller. Otherwise if your using pre 2014b you can get to all the propert...
10 years ago | 0
How do I force a compiled function to exit with a non-zero status yet allow the overall application to continue to run.
You want to in effect transfer information from one exe to another. Is that correct? Since you are using the system command ...
10 years ago | 0
Opening a txt file with chosen directory location
x_Filename is a cell array, you need to pass the individual file into fopen: file_x = fopen ( x_Filename{1} ) You s...
10 years ago | 0
| accepted
Formatting Legend Entries Properly
When using sprintf you have to cancel the \ operator, to do this use a double \\ str{box} = sprintf(... % aiming for: "A - \...
10 years ago | 1
| accepted
trouble with switch case
use curcly brackets to switch on the cell item. switch input{1}
10 years ago | 0
| accepted
Update multiple YData on plot without losing focus
you need to save the handles for each of your 3 plots h1 = plot ( t_whole, '-k'); h2 = plot ( fit.mode,'-b'); h3 = pl...
10 years ago | 1