Answered

Matlab GUI: Showing data from COM port in listbox without using any push button

The callback function of a listbox is executed when you select an element of the list, what I think you might want is to read fr...

Matlab GUI: Showing data from COM port in listbox without using any push button

The callback function of a listbox is executed when you select an element of the list, what I think you might want is to read fr...

7 years ago | 0

Answered

How do I read a range of elements in a given excel column into a new matlab array?

*This file is not a excel file* |*CSV FILES*| files are plain text files, and like any file.txt can be viewed with a simple t...

How do I read a range of elements in a given excel column into a new matlab array?

*This file is not a excel file* |*CSV FILES*| files are plain text files, and like any file.txt can be viewed with a simple t...

7 years ago | 0

Answered

how can i call up either part of the results like (e1,e5,e6,e9)or (from e1 to e7)? then i need to combin them in one array

I'm assuming that the results |*e1, e2, e3...*| in the code you wrote is |*b{k}*|... you might get your results as an numeric ar...

how can i call up either part of the results like (e1,e5,e6,e9)or (from e1 to e7)? then i need to combin them in one array

I'm assuming that the results |*e1, e2, e3...*| in the code you wrote is |*b{k}*|... you might get your results as an numeric ar...

7 years ago | 0

Answered

Changing save name for text file

possible causes: * |*answer*| contains invalid charater(s) for a file name * more or less about the same error but the inval...

Changing save name for text file

possible causes: * |*answer*| contains invalid charater(s) for a file name * more or less about the same error but the inval...

7 years ago | 0

Answered

Please help - How can i limit the number of inputs in the editbox (GUI)

Try using the |*'String'*| property instead of the |*'Value'*| one: function edit1_KeyPressFnc(hObject,~) strEdit = ge...

Please help - How can i limit the number of inputs in the editbox (GUI)

Try using the |*'String'*| property instead of the |*'Value'*| one: function edit1_KeyPressFnc(hObject,~) strEdit = ge...

7 years ago | 0

Answered

save GUI figure to pdf

try several overloaded methods for <http://www.mathworks.com/help/matlab/ref/uiputfile.html UIPUTFILE> [file path] = uiput...

save GUI figure to pdf

try several overloaded methods for <http://www.mathworks.com/help/matlab/ref/uiputfile.html UIPUTFILE> [file path] = uiput...

7 years ago | 0

| accepted

Answered

how to display string's edit box and string's popup when i go back from GUI2 to GUI1

All depends how your *data* is _*saved*_ and _*passed*_ between the different *GUIs*, start reading <http://www.mathworks.com/he...

how to display string's edit box and string's popup when i go back from GUI2 to GUI1

All depends how your *data* is _*saved*_ and _*passed*_ between the different *GUIs*, start reading <http://www.mathworks.com/he...

7 years ago | 0

Answered

Please help - How can i limit the number of inputs in the editbox (GUI)

Try using the <http://www.mathworks.com/help/matlab/ref/uicontrol_props.html#bqxoim8 *KeyPressFnc*> and in there compare the len...

Please help - How can i limit the number of inputs in the editbox (GUI)

Try using the <http://www.mathworks.com/help/matlab/ref/uicontrol_props.html#bqxoim8 *KeyPressFnc*> and in there compare the len...

7 years ago | 0

Answered

How to call a variable with user string input

exampleD = ones(1,50); % this is an existing array inp = input('Which dataset are you working with? ','s'); % at this point ...

How to call a variable with user string input

exampleD = ones(1,50); % this is an existing array inp = input('Which dataset are you working with? ','s'); % at this point ...

7 years ago | 0

Answered

How to call a variable with user string input

exampleD = ones(1,50); % this is an existing array inp = input('Which dataset are you working with? '); for i = 1:numel(inp)...

How to call a variable with user string input

exampleD = ones(1,50); % this is an existing array inp = input('Which dataset are you working with? '); for i = 1:numel(inp)...

7 years ago | 0

Answered

As in Matlab Notebook use functions?

From what i know, functions must be named * *.m* not * *.doc* and shouldn't be saved in msWord format, but plain text format, fo...

As in Matlab Notebook use functions?

From what i know, functions must be named * *.m* not * *.doc* and shouldn't be saved in msWord format, but plain text format, fo...

7 years ago | 0

Answered

What kind of structure is that in MATLAB I've never seen it before... (Differential equations)

It creates a function handle, also called anonymous functions learn more <http://www.mathworks.com/help/matlab/matlab_prog/anony...

What kind of structure is that in MATLAB I've never seen it before... (Differential equations)

It creates a function handle, also called anonymous functions learn more <http://www.mathworks.com/help/matlab/matlab_prog/anony...

7 years ago | 0

| accepted

Answered

find the repetition of matrix rows

a = [1 2 3; 4 5 6;1 2 3; 3 2 4; 1 2 3; 3 2 1; 1 3 2] ; row2check = 1; repeated = 0 ; for i = 1 : size(a,1) repeate...

find the repetition of matrix rows

a = [1 2 3; 4 5 6;1 2 3; 3 2 4; 1 2 3; 3 2 1; 1 3 2] ; row2check = 1; repeated = 0 ; for i = 1 : size(a,1) repeate...

7 years ago | 0

| accepted

Answered

creating a vector that repeats a number 360 times

r = ones(1,360)*500 % row vector c = ones(360,1)*500 % column vector

creating a vector that repeats a number 360 times

r = ones(1,360)*500 % row vector c = ones(360,1)*500 % column vector

7 years ago | 2

Answered

Help me plz, Empty matrix!

the *0* sized matrix means that non of the elements of |*f*| are greater than *30000*, so if you want solve the problem, try thi...

Help me plz, Empty matrix!

the *0* sized matrix means that non of the elements of |*f*| are greater than *30000*, so if you want solve the problem, try thi...

7 years ago | 0

| accepted

Answered

How to write a faster seqrcomplement function

I really don't know if there's a faster alternative, but if you have millions of sequences try parallel computing... |*% para...

How to write a faster seqrcomplement function

I really don't know if there's a faster alternative, but if you have millions of sequences try parallel computing... |*% para...

7 years ago | 0

Answered

How can I Transform the time series data into frequency domain using Fast Fourier Transformed (FFT)

have a look into <http://www.mathworks.com/matlabcentral/answers/127437-matlab-to-find-individual-frequency-from-a-source this q...

How can I Transform the time series data into frequency domain using Fast Fourier Transformed (FFT)

have a look into <http://www.mathworks.com/matlabcentral/answers/127437-matlab-to-find-individual-frequency-from-a-source this q...

7 years ago | 0

Answered

concatenating string variable names and passing on values of a matrix in a for loop

Creating variable names via *EVAL* function is highly *NOT RECOMMENDED*. Try to use a different philosophy... try this for examp...

concatenating string variable names and passing on values of a matrix in a for loop

Creating variable names via *EVAL* function is highly *NOT RECOMMENDED*. Try to use a different philosophy... try this for examp...

7 years ago | 0

| accepted

Answered

How can I create new edit boxes based on user input, where are the callbacks generated????

Or you can try saving the *handles* after creating the control! for example: function button1_fnc_callback(hObject,eventDat...

How can I create new edit boxes based on user input, where are the callbacks generated????

Or you can try saving the *handles* after creating the control! for example: function button1_fnc_callback(hObject,eventDat...

7 years ago | 1

Answered

How can I create new edit boxes based on user input, where are the callbacks generated????

Check this <http://blogs.mathworks.com/videos/category/gui-or-guide/ *video* tutorials!> on building *GUIs*. Also you can try th...

How can I create new edit boxes based on user input, where are the callbacks generated????

Check this <http://blogs.mathworks.com/videos/category/gui-or-guide/ *video* tutorials!> on building *GUIs*. Also you can try th...

7 years ago | 0

Answered

How to removed the ??? Reference to non-existent field error

this only means that variable *'bg_means'* doesn't exist in your file: sprintf(bgModelPath,PRM.CAMS{V}.name)

How to removed the ??? Reference to non-existent field error

this only means that variable *'bg_means'* doesn't exist in your file: sprintf(bgModelPath,PRM.CAMS{V}.name)

7 years ago | 0

Answered

How to get image files from subdirectories with in a directory?

to get the files from a folder try this: selDossier = uigetdir; % ask for the folder searchedExtension = '.hdr' ; ...

How to get image files from subdirectories with in a directory?

to get the files from a folder try this: selDossier = uigetdir; % ask for the folder searchedExtension = '.hdr' ; ...

7 years ago | 0

Answered

is this allowed in a forloop

I don't see why not! only, are these valid arguments for your functions/subscripts? try to run it! but I think is perfectly vali...

is this allowed in a forloop

I don't see why not! only, are these valid arguments for your functions/subscripts? try to run it! but I think is perfectly vali...

7 years ago | 0

| accepted

Answered

search the second column of a cell array according to the values in the first column

I'd recommend the use of structures: pippo.FSize= 10; pippo.MSize= 10; pippo.rho= 997; pippo.u2= 86.2262; So when you...

search the second column of a cell array according to the values in the first column

I'd recommend the use of structures: pippo.FSize= 10; pippo.MSize= 10; pippo.rho= 997; pippo.u2= 86.2262; So when you...

7 years ago | 1

Answered

how to export multiple matlab variable outputs to excel sheet?

try to put all your variables in a cell for example! an then use the <http://www.mathworks.com/help/matlab/ref/xlswrite.html xls...

how to export multiple matlab variable outputs to excel sheet?

try to put all your variables in a cell for example! an then use the <http://www.mathworks.com/help/matlab/ref/xlswrite.html xls...

7 years ago | 1

Answered

imshow, axes in GUI, cla not working

This is because *RA* axes is still visible and *you are creating one axe every time*, to create just one axe *try this code ...

imshow, axes in GUI, cla not working

This is because *RA* axes is still visible and *you are creating one axe every time*, to create just one axe *try this code ...

7 years ago | 1

| accepted

Answered

GUIDE Callback function error

the problem isn't your *GUI* the problem is in your *VHDL_Project_Open.m* file, at the fopen(s); Line, this means that ...

GUIDE Callback function error

the problem isn't your *GUI* the problem is in your *VHDL_Project_Open.m* file, at the fopen(s); Line, this means that ...

7 years ago | 0

| accepted

Submitted

Easy programatic GUI Layout

Automatic placement of objects in a GUI - Easy Design Graphical User Interfaces

7 years ago | 2 downloads |

Answered

matlab problem .. please help

try starting <http://www.mathworks.com/matlabcentral/answers/8626-how-do-i-get-help-on-homework-questions-on-matlab-answers *HER...

matlab problem .. please help

try starting <http://www.mathworks.com/matlabcentral/answers/8626-how-do-i-get-help-on-homework-questions-on-matlab-answers *HER...

7 years ago | 0