Réponse apportée
how to read a specific element from an excel file ?
It sounds like Worksheet 'sheet1' does not exist. Support for .XLSX files with xlsread() was not introduced until R2009a, and...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
Matlab freeze when using a file dialog selection
I just had a very similar occurrence. In my case, MATLAB was not completely frozen (Editor, documentation still worked), but it...

plus de 8 ans il y a | 0

Réponse apportée
How to get 'set' not to replace values in a textbox each time it is used.
You're looking for the word "Append" to describe the behavior you want. Using set() by itself can only replace all content. ...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
'Go To' button in Matlab 2017 editor
<</matlabcentral/answers/uploaded_files/90619/Untitled.png>> I just confirmed that the editors in R2016a, R2017a and R2017b a...

plus de 8 ans il y a | 3

| A accepté

Réponse apportée
Adding help content to AppDesigner App
According to <https://www.mathworks.com/help/matlab/matlab_prog/function-precedence-order.html Function Precedence>, .mlapp file...

plus de 8 ans il y a | 1

Question


Adding help content to AppDesigner App
Does anybody know how to add comments to an .MLAPP such that "help myapp" returns the help content? Currently, all I get is "my...

plus de 8 ans il y a | 3 réponses | 0

3

réponses

Réponse apportée
Parfor: Variable indexed in different ways.
Try replacing this code (inside the loop): % calculate averages of the errors ave_perfs(1,j) = sum(perf(:,j))/5; With...

plus de 8 ans il y a | 2

| A accepté

Réponse apportée
I'm trying to build a calculator. I have a listbox and a series of pushbuttons for the operations (+,-,/,sqrt,cos,sin.). I display what the user is clicking on an edit box. When the user clicks on 'cos' e.g., it only displays 'c'. Please check the co
The 'Value' property of a pushbutton uicontrol is set to 1 during callback execution. Therefore, your button vs. list logic: ...

plus de 8 ans il y a | 0

| A accepté

Question


Setting up SVN Usernames
I'm using MATLAB's builtin SVN source control integration. I had to tweak the config file to allow anonymous access. Now that ...

presque 9 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
I'm having trouble using MsgBox.
elseif errordlg({'Dengeli Ölçülerin Denetimi' ' HATALI!!!'},'Hata'); I believe you wanted: else errordlg({...},...

presque 9 ans il y a | 1

Réponse apportée
Reading an image on an axes and manipulate it then display it on another axes
You're setting the grayscale image as the appdata. This doesn't have a third dimension to index into. Replace setappd...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
How can I move to the next trial without generating new window of figure?
Take fig = figure; set(fig,'position',get(0,'ScreenSize')) out of the loop

presque 9 ans il y a | 1

| A accepté

Réponse apportée
Optimize this loop to take less computing time
I didn't run your data through to verify, but I'm pretty sure you can kill the inner loop. Although, the fact that nobody else ...

presque 9 ans il y a | 2

| A accepté

Réponse apportée
UDP Enable Port Sharing
Tech support contacted me directly about this issue, so I'll post what I received from them: After discussing with my colleag...

presque 9 ans il y a | 0

Réponse apportée
How to Call Context Menu from Inside a Rectangle?
If you set the FaceColor of the rectangle, the uicontext menu works anywhere inside. Be aware that this may complicate other th...

presque 9 ans il y a | 0

| A accepté

Question


UDP Enable Port Sharing
I have one PC (call it the brain) create a separate UDP object for a connection to each other PC (call them the body parts) on m...

presque 9 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Callback function for UDP set with DatagramReceivedFcn is invoking only for one time?
That warning is almost always due to an error in your DatagramReceivedFcn code. This thread is a year old, so I doubt the origi...

environ 9 ans il y a | 0

Réponse apportée
I need the code for extracting the digital numbers from the color planes!
A = imread(filename); A(:,:,1) is the red A(:,:,2) is the green See a pattern yet...?

environ 9 ans il y a | 0

Réponse apportée
How to store 1000 random values in a single matrix
Read the documentation for the rand() function. yoursinglearray = rand(1000,1);

environ 9 ans il y a | 2

Réponse apportée
How can I receive Ethernet Data
Purchase the Instrument Control toolbox and use the UDP() function. It works beautifully.

environ 9 ans il y a | 0

| A accepté

Question


"R2016b+" When submitting a bug report
Does anybody know what the "R2016b+" drop down option is about when submitting a bug report? I haven't seen any reference to an...

environ 9 ans il y a | 2 réponses | 0

2

réponses

Question


AppDesigner UIListBox Multi-Select Corrupts .MLAPP File
I'm mostly posting this more than asking a question just so other people don't lose days/weeks of work like I did. If you add...

environ 9 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Opening uisetcolor extremely slow R2016b
I found a workaround from a mildly-related question: http://www.mathworks.com/matlabcentral/answers/307703-unwanted-changes-bug...

environ 9 ans il y a | 2

| A accepté

Question


Opening uisetcolor extremely slow R2016b
Is anybody else having this issue? Has anybody found a workaround or solution? I've tested 8 machines, and even asked a frie...

environ 9 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
plotting needs to configure 'linewidth' greater than default 0.5, otherwise no display of figure
set(groot,'DefaultLineLineWidth',1); Note: I do NOT have the same issue running R2016a or R2016b on Windows 7 or 10. I've ev...

environ 9 ans il y a | 0

Réponse apportée
help in multi dimensional array 3D
I assume that "a=(2,3,5)" means the corresponding length of each dimension of a is 2, 3 and 5. Increasing variable size is ra...

environ 9 ans il y a | 0

| A accepté

Réponse apportée
Access data in table - how to chose a range of columns indexed by cell
See the documentation. "Index Using a Logical Expression" section of the following page: https://www.mathworks.com/help/matl...

environ 9 ans il y a | 0

| A accepté

Réponse apportée
How can I perform matrix calculations within the own matrix?
The right hand side (rhs) evaluates to a column. The left hand side (lhs) references the entire matrix (612 columns). You can'...

environ 9 ans il y a | 1

Réponse apportée
Equivalent of [C{:}] for vertcat
Do exactly the same thing, then transpose B... A = {(1:3) (4:7)}; B = [A{:}]'

environ 9 ans il y a | 0

Réponse apportée
HI All ,Here i want to Reshape 2D images into 1D image vectors , why i get this error ? Error using '?? Transpose on ND array is not defined. Error in testauto (line 14) temp = reshape(img',r*c,1); .please help its urgent Thanks.
The error tells you exactly where the problem is: transposing an ND array on line 14. More specifically, the single tick (') op...

environ 9 ans il y a | 0

Charger plus