Réponse apportée
Adding Strings to list box so that if two strings are same, a number will be added.
Ahmed - I think that you may want to manage, outside of the list box, a separate list of all the strings that have been added to...

environ 6 ans il y a | 0

Réponse apportée
Get Latitude and Longitude from Location Address
Vinayak - you could perhaps try using webread where the URL is formatted similar to what is found at Google Geocoding Dev Guide ...

environ 6 ans il y a | 0

Réponse apportée
Is there a way to copy files with a name specified by a link contained within an array to a new folder?
Jack - without seeing the error message from your above code, I suspect that File_location is a cell array of paths to files and...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Output for while loop
Mateuz - try storing the data in an array which you can then (for example) write to file after the loop has completed. For examp...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Linking a pushbutton to two dropdown menus in GUIDE
vedesh - in the pushbutton callback, you would use the handles structure to get the selections from the two dropdown menus. Your...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
matlab appdesinger how to reset to plot ?
tomer - if you have the handle to the axes, then you can use cla to delete all graphics object (including your plot) from the ax...

environ 6 ans il y a | 0

Réponse apportée
How to continue a plot in app designer with a push button?
Davide - rather than waiting and resuming, since all subsequent updates to the axes occur with the press of a button, just put a...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Loading files from the folder
hamzah - could you use uigetfile and allow the user to select the files that they are interested in? [file,path] = uigetfile('*...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
How to solve this error presented when compiling .cpp files to mex?
Farouk - from mxGetDimensions (C and Fortran), the signature for this function is const mwSize *mxGetDimensions(const mxArray *...

environ 6 ans il y a | 1

Réponse apportée
Matlab Gui - Adquire Video
Sérgio - I suspect the problem might be with your while loop that is preventing the disconnect_Callback from being processed. Yo...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
How do I Ctrl-R on Mac?
Katy - on my version of MATLAB (on a Mac), I can comment a block of code with Cmd /. (Note that Cmd T uncomments the block of co...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
Showing more than one image in a GUIDE gui
Douglas - perhaps try imshow(logo_file_name, 'Parent', handles.axes3); where you include the Parent name for the axes value.

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Error in saveas, Invalid figure handle
Daphne - from saveas, the first input parameter is a handle to the figure. You've named this fig in your code, but it seems to b...

environ 6 ans il y a | 0

Réponse apportée
Redefine variable in function file in script loop
Amie - you could try nesting your Problem2a function within your main code (note that you would need to change your script to a ...

environ 6 ans il y a | 0

Réponse apportée
How can I get 3D continuous plot of real time data ?
Aradhya - everytime you call plot3 you are creating a new plot (graphics) object and the previous one is deleted. Perhaps that i...

environ 6 ans il y a | 5

| A accepté

Réponse apportée
Converting cell array to matrix
Tham - check your for loop i = length(code); for n = 1:i [~,index] = ismember(code(i), morse) letter(i) = str_letter...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
problem with code for arduino voltage reading
Muhammad - the problem is with this line of code a = gca; where you overwrite the arduino assigned variable with the current a...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
How can I get the result from uibuttongroup to slider?
Ploy - you haven't indicated what your error is, though it may have to do with y = get(handles.uibuttongroup1, 'Value'); iml...

plus de 6 ans il y a | 0

Réponse apportée
push button callback error
Siti - it looks like you are using GUIDE for your GUI and, for your callback, the comments indicate that there should be three i...

plus de 6 ans il y a | 0

Réponse apportée
Code Clarification on If statements
Julia - all this code if PromptMessage == 1 Choice2 = PlayerOption(1); elseif PromptMessage == 2 Choice2 = PlayerOpt...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Using Function to test height allowed on ride
Payton - where in your function, do you assign the result to ans function [ans] = ride(height) if (height<48) height = 'no...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
Element-wise Conditional Statements in Script
Zachary - you seem to be missing an end in your code. Perhaps try for j=1:3 Qr(j) for i=1:50 if Pc(i,j)>=P0(...

plus de 6 ans il y a | 0

Réponse apportée
How can i express many bezier curve in one figure?
Jin - you call figure;hold on; grid on; three times and so create three figures. If you just want all the plots on a single fi...

plus de 6 ans il y a | 0

Réponse apportée
Why it is showing error?
Kartikey - similar to one of your other questions, there is a special character at the line where you are doing the assignment. ...

plus de 6 ans il y a | 0

Réponse apportée
Why it is showing error?
Kartikey - there appears to be a hidden character at your line 70 which is the "blank" line in ​ % Numerals listings. elseif ...

plus de 6 ans il y a | 0

Réponse apportée
marking some points.
Silpa - you could try something like A=[0.8570, 1.0447 , 1.2136 , 1.3637 , 1.4670 , 1.4576 , 1.3731 , 0.9696 , 0...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Problem working with 2 popupmenus
John - have you writtin your GUI with GUIDE, App Designer, or programmatically? The solution may be similar for each: in the pus...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Pushback button execution in a while loop
Ram - in the body of your add_measure_ButtonDownFcn you do handles.add_meas=1; guidata(hObject, handles); where you initializ...

plus de 6 ans il y a | 0

Réponse apportée
getting error using code for continuing input on new line
Muazma - you are trying to vertically concatenate strings that are of different lengths and so the error message makes sense. Tr...

plus de 6 ans il y a | 0

Réponse apportée
Creating border of an image
Mayank - is you have a colour image, then you could do something like myImage = uint8(randi(255,256,256,3)); border = 2; myIm...

plus de 6 ans il y a | 0

| A accepté

Charger plus