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
統計
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年以上 前 | 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年以上 前 | 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年以上 前 | 0
| 採用済み
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年以上 前 | 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年以上 前 | 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年以上 前 | 0
plotting with changing variable values with switch case command
you need to specify the hold command before you start creating the plots.
9年以上 前 | 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年弱 前 | 0
| 採用済み
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年弱 前 | 2
| 採用済み
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年弱 前 | 0
| 採用済み
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年弱 前 | 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年弱 前 | 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年弱 前 | 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年弱 前 | 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年弱 前 | 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年弱 前 | 0
| 採用済み
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年弱 前 | 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年 前 | 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年 前 | 0
| 採用済み
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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 0
| 採用済み
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年 前 | 1
| 採用済み
trouble with switch case
use curcly brackets to switch on the cell item. switch input{1}
約10年 前 | 0
| 採用済み
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年 前 | 1