已回答
What is the best way to read data from multiple csv files into one variable?
Is the number of rows in each file fixed? If so you can properly/accurately pre-allocate the variables time and vel - prope...

13 years 前 | 0

已回答
Matlab keeps renaming my files in camel case
close it in the editor - rename it in explorer and then reopen it. Its a quirk I've seen before in the editor.

13 years 前 | 0

已回答
Share your favorite snippet or utility
I second <http://www.mathworks.co.uk/help/matlab/ref/home.html home> - its very useful, the number of times I've had to go to a ...

13 years 前 | 1

已回答
Guidelines to create Windows Standalone Application from GUI.
can you not just launch the current exe from a DOS prompt to see the error? Start - Run - CMD then cd to your directory a...

13 years 前 | 0

已回答
Too late to submit Negative feedback for R2012b !
I also suspect this was a decision taken *some time ago* -> a strategic management decision.... It would of taken a lot of ...

13 years 前 | 2

已回答
Too late to submit Negative feedback for R2012b !
I had no access to the beta version for testing - so no opportunity to provide feedback.

13 years 前 | 1

已回答
How to get the -ve x axis on the right side of the +ve axis?
Is this what your after: set ( gca, 'xdir', 'reverse' );

13 years 前 | 1

| 已接受

已回答
Transfer data from a figure to variable
to do it without interacting with the mouse at all you can get to the data through the children of the axes handle: e.g. fi...

13 years 前 | 0

已回答
How do I add a 'Table' to input array elements with variable rows and columns in a GUI?
If I recall an uitable is still in an "undocumented" form in R2007. You could try <http://www.mathworks.com/matlabcentral/f...

13 years 前 | 0

| 已接受

已回答
How to vectorize a for loop?
you over write: Chit(j)=sum(XsA); in every *i* loop - are you sure you want to do that? Profile the code and you...

13 years 前 | 0

已回答
Find and Replace Overlapping Substrings
I would make a binary flag = to the length of your string. Then run through all your substrings and mark the flag true for the ...

13 years 前 | 0

| 已接受

已回答
Finding smallest value in nested structure
One way is to use a self calling function (this will find "area" at any level): Here is the bones of one - you would call it ...

13 years 前 | 1

已回答
how to calculate the maximum of different parts of a vector without using a for loop?
In your example above the biggest speed gain would be achieved by pre-allocating the maxH variable maxH = zeros(length(s),...

13 years 前 | 0

已回答
Include sub-folders automatically in script
I'm not 100% sure what your after - but have you seen help genpath e.g. addpath ( genpath ( pwd ) )

13 years 前 | 2

| 已接受

提问


jchooser embeded in GUI - obtain status of buttons and change to save type
This is a follow on from a previous <http://www.mathworks.co.uk/matlabcentral/answers/44277-adding-callbacks-to-jfilechooser-in-...

13 years 前 | 1 个回答 | 0

1

个回答

已回答
Errors and Warnings on Very Simple GUI
I'd advise you to look at <http://www.mathworks.com/matlabcentral/fileexchange/24861 GUI FEX> which contains lots of examples...

13 years 前 | 1

| 已接受

已回答
Save figure on a server machine with no display
use the print command doc print you can set it to save individual file (e.g. png) print ( handle, '-dpng', 'filena...

13 years 前 | 0

提问


Adding callbacks to JFileChooser in embedded GUI
Hi, I'm trying to build a dialog with an embedded file open dialog (see code below as starting point). I'm having trouble worki...

13 years 前 | 1 个回答 | 1

1

个回答

已回答
Variable in file name
fname1=[a{1} helpDD{1} helpSS{1}]

13 years 前 | 0

| 已接受

已回答
vectorizing nested loops
preallocate your variable r That will improve the performance.

13 years 前 | 0

已回答
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 ...

13 years 前 | 0

| 已接受

已回答
How to stop execution of m file
try ctrl-c at the command line.

13 years 前 | 0

| 已接受

已回答
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 ...

13 years 前 | 0

已回答
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...

13 years 前 | 0

| 已接受

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

13 years 前 | 0

已回答
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.

14 years 前 | 0

| 已接受

已回答
how to list functions/toolboxes required by a program
help depfun

14 years 前 | 0

已回答
how can I use a name of an external variable in a function?
help inputname

14 years 前 | 0

| 已接受

已回答
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...

14 years 前 | 3

| 已接受

加载更多