Community Profile

photo

Robert Cumming


Matpi

Actif depuis 2011

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

Statistiques

All
  • Personal Best Downloads Level 2
  • First Review
  • 5-Star Galaxy Level 4
  • GitHub Submissions Level 1
  • First Submission
  • 12 Month Streak
  • Pro
  • Revival Level 1
  • Knowledgeable Level 4
  • First Answer
  • Scavenger Finisher
  • Solver

Afficher les badges

Content Feed

Afficher par

A répondu
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 ...

plus de 8 ans il y a | 0

A répondu
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...

presque 9 ans il y a | 0

A répondu
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...

presque 9 ans il y a | 0

| A accepté

A répondu
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...

presque 9 ans il y a | 0

A répondu
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 ...

presque 9 ans il y a | 0

A répondu
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...

environ 9 ans il y a | 0

A répondu
plotting with changing variable values with switch case command
you need to specify the hold command before you start creating the plots.

environ 9 ans il y a | 0

A répondu
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 ...

environ 9 ans il y a | 0

| A accepté

A répondu
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 ...

plus de 9 ans il y a | 2

| A accepté

A répondu
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...

plus de 9 ans il y a | 0

| A accepté

A répondu
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...

plus de 9 ans il y a | 2

A répondu
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...

plus de 9 ans il y a | 0

A répondu
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 ...

plus de 9 ans il y a | 0

A répondu
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...

plus de 9 ans il y a | 0

A répondu
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...

plus de 9 ans il y a | 2

A répondu
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...

plus de 9 ans il y a | 0

| A accepté

A répondu
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...

plus de 9 ans il y a | 0

A répondu
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...

plus de 9 ans il y a | 0

A répondu
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 ...

plus de 9 ans il y a | 0

| A accepté

A répondu
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...

plus de 9 ans il y a | 1

A répondu
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...

plus de 9 ans il y a | 1

A répondu
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...

plus de 9 ans il y a | 0

A répondu
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: ...

plus de 9 ans il y a | 0

A répondu
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?

plus de 9 ans il y a | 0

A répondu
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...

plus de 9 ans il y a | 0

A répondu
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 ...

plus de 9 ans il y a | 0

A répondu
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...

plus de 9 ans il y a | 0

| A accepté

A répondu
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 - \...

plus de 9 ans il y a | 1

| A accepté

A répondu
trouble with switch case
use curcly brackets to switch on the cell item. switch input{1}

plus de 9 ans il y a | 0

| A accepté

A répondu
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...

plus de 9 ans il y a | 1

Charger plus