提问


How to make text in uicontrol object disappear when user starts typing?
I have a question about the following editable text box, f = figure; % Make example figure peaks; % Plot peaks data that...

7 years 前 | 1 个回答 | 0

1

个回答

提问


How to stop getting cursor position?
I have a function based on <http://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples?focused=5147026&t...

7 years 前 | 1 个回答 | 0

1

个回答

提问


Why do lines look blurry with linewidth 1 in R2017a?
I am using R2017a and when I plot lines with linewidth of 1, they appear blurry or pixelated, as in the screenshot below. How ca...

7 years 前 | 1 个回答 | 0

1

个回答

已回答
How to apply "hold" to some but not all plot objects
Jan Simon's answer <https://www.mathworks.com/matlabcentral/answers/58402-delete-line-in-gui here> actually solved the problem, ...

7 years 前 | 1

提问


How to apply "hold" to some but not all plot objects
Is there a way to apply "hold on" to some plot objects, but to apply "hold off" to other objects in the same plot? The examp...

7 years 前 | 2 个回答 | 1

2

个回答

提问


How to make a shortcut to always "Run as Administrator"
I would like to change the default startup of Matlab to 'Run as Administrator', which is necessary for tasks like saving the pat...

7 years 前 | 2 个回答 | 0

2

个回答

提问


Unexpected number of function input arguments
I am confused by "extra" function inputs in the program <https://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-...

7 years 前 | 0 个回答 | 0

0

个回答

提问


Help understand: Passing a function handle to another function as an argument
Can you help me understand the following line in the program <https://www.mathworks.com/matlabcentral/fileexchange/24861-41-comp...

7 years 前 | 1 个回答 | 0

1

个回答

已回答
debugging a callback function
There is info on debugging a GUI <http://blogs.mathworks.com/videos/2011/03/21/adding-a-debug-button-to-a-matlab-gui/ here>, bot...

7 years 前 | 0

提问


Are you using Matlab in an Agile development environment?
I am a researcher using Matlab, which means I am partly a programmer and so could benefit from improving how I write, document, ...

7 years 前 | 1 个回答 | 0

1

个回答

提问


Is UML the right tool to make logic flow diagrams of mfile?
I am looking for a tool similar to <https://code2flow.com/ code2flow> to make a logic flow diagram of a convoluted legacy mfile ...

7 years 前 | 0 个回答 | 1

0

个回答

已回答
How to stop legend from adding 'data1', 'data2' when additional data is plotted
It turns out that the undesired entries can be deleted using the 'String' property of the legend. Below lh is the legend handle ...

7 years 前 | 1

提问


How to stop legend from adding 'data1', 'data2' when additional data is plotted
In 2017a, when I make some plots and add a legend, then add subsequent plots, the legend is updated with new unwanted entries ge...

7 years 前 | 2 个回答 | 1

2

个回答

已回答
Legend Button displays data1, data2, etc
You need to include strings in the legend command. % Plot some data figure; h1 = plot(rand(1,7), rand(1,7)); hold ...

7 years 前 | 0

已回答
polar plot bar chart combo or something similar?
You might want to see <https://www.mathworks.com/matlabcentral/fileexchange/47248-wind-rose windRose> on the file exchange.

7 years 前 | 1

已回答
Polar Bar Plot Matlab (like Radar)
<https://www.mathworks.com/matlabcentral/fileexchange/47248-wind-rose Wind rose> is nice too (just ignore the fact that it is wr...

7 years 前 | 0

提问


Problem with editor search in R2016b
I switched to R2016b last month when I got a new Windows 10 Pro machine, and have noticed a problem with the editor search funct...

7 years 前 | 1 个回答 | 0

1

个回答

已回答
Diagrams from matlab code
You might be able to use <https://code2flow.com code2flow> though it is for different languages.

7 years 前 | 0

提问


How to specify the RGB color of each line in a waterfall plot?
Is there a way to specify the RGB color of each line in a <https://www.mathworks.com/help/matlab/ref/waterfall.html waterfall> p...

7 years 前 | 1 个回答 | 0

1

个回答

提问


What start time is assumed in Matlab's resample function?
When I use Matlab's resample function, what start time is assumed for the resampled time vector? All the plots and examples in t...

7 years 前 | 1 个回答 | 0

1

个回答

提问


How to add non-row-sized variable to table?
How can I add a variable to a table if the variable has a different length than the number of rows in the table? One reason to d...

7 years 前 | 2 个回答 | 0

2

个回答

提问


What colormap is used to generate ColorOrder?
What colormap is used to generate the default <https://www.mathworks.com/help/matlab/ref/axes-properties.html#prop_ColorOrder Co...

7 years 前 | 2 个回答 | 0

2

个回答

提问


Matlab style: should table names be capitalized?
In <https://www.ee.columbia.edu/~marios/matlab/MatlabStyle1p5.pdf Elements of Matlab Style>, Richard Johnson recommends capitali...

7 years 前 | 1 个回答 | 0

1

个回答

已回答
Why does table creation produce error "VariableNames property must contain one name for each variable in the table"?
Just figured this out: have to use <https://www.mathworks.com/help/matlab/ref/array2table.html array2table>, T = array2tab...

7 years 前 | 12

| 已接受

提问


Why does table creation produce error "VariableNames property must contain one name for each variable in the table"?
Can you please revise the following line of code to eliminate the error "VariableNames property must contain one name for each v...

7 years 前 | 2 个回答 | 1

2

个回答

提问


Prevent MATLAB from creating empty mfile if it doesn't exist
I would like to turn off the following behavior: When I try to open a mfile that doesn't exist as far as MATLAB knows*, MATLAB c...

7 years 前 | 2 个回答 | 0

2

个回答