Question


How to save clustergram as fig file using code?
I generate a clustogram using R2016a, cgo = clustergram(rand(94,250),... 'RowLabels',repmat({'rowLabel'},1,94),......

3 years ago | 1 answer | 0

1

answer

Answered
How to replace google-collect.jar with the newer version guava.jar
I have the same error with you . Have you solved?

3 years ago | 0

Question


deployed app exit when GUI appeared
Hi, I have a function that shows a GUI with buttons and callbacks. When running in matlab, it create the gui figure and relea...

3 years ago | 1 answer | 0

1

answer

Question


im2bw get different binary results on same data between double and uint8 in R2016a
Hi, I am using im2bw to convert a RGB image to binary, but get very different results when image was in uint8 or double format. ...

3 years ago | 0 answers | 0

0

answers

Question


Cannot find builtin function 'waitbar'
Hi, I am calling builtin fucntion to run waitbar in R2017b but got an error: Cannot find builtin function 'waitbar'. Is w...

3 years ago | 1 answer | 0

1

answer

Question


How to show file name instead of full file path in matlab's code editor bar
Hi, Usually the m code editor bar shows the full path to m file. Occasionally I found that when I open the code editor and var...

3 years ago | 0 answers | 7

0

answers

Answered
Pass matlab javaArray('java.lang.Integer',Length) as "java method input: int[]" to be filled in the method failed
I find an answer here. https://www.mathworks.com/matlabcentral/answers/94559-why-do-i-receive-an-error-when-i-call-the-read-met...

3 years ago | 0

| accepted

Question


Pass matlab javaArray('java.lang.Integer',Length) as "java method input: int[]" to be filled in the method failed
In java/C#/C++ method, there is a way to input a empty array as one argument in, and the method can fill this array, which could...

3 years ago | 1 answer | 0

1

answer

Question


how to input to "imread" using uint8 vector that is equivalent to binary data of image file from fread
Hi, I am trying to read many 512x512 jpg files that extracted from a .db database as uint8 vector for each file. The vector is...

3 years ago | 2 answers | 0

2

answers

Question


SQLite JDBC error: [SQLITE_ERROR] SQL error or missing database (no such table:)
I'm trying to read data from a .db file. This file has a colume of blob data type that cannot be read by function sqlite. So I ...

3 years ago | 0 answers | 1

0

answers

Answered
Unexpected type: SQL_BLOB; (zero-based)
sqlite interface only support several basic data type. To access blob, you may use database function to create a connect object...

3 years ago | 0

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4 years ago

Question


How to pop the content of a matrix in a way like pop the content of a cell
We know that the arguments of a function can be placed in a cell and call it like this: aCell = {arg1,arg2,arg3}; myFunction(a...

4 years ago | 3 answers | 0

3

answers

Submitted


me: call self in recursive way but independent of mfilename
With argument,this funciton call the mfilename that it was located in, in an recursive way and can retrieve output.

4 years ago | 1 download |

Answered
How to ignore not serializable variables when saving workspace
https://www.mathworks.com/matlabcentral/fileexchange/74345-save-caller-s-workspace-to-mat-file-skip-all-java-object

4 years ago | 0

Submitted


MFquestdlg: add two more cool fratures to MFquestdlg
Add two cool features to ‘MFquestdlg from Saeid https://www.mathworks.com/matlabcentral/fileexchange/31044-specifying-questdlg-p...

4 years ago | 2 downloads |

Question


when combing OnCleanup with evalin, weird order of execution
This function is to print in cmd window that the function was executed and exited. The expected outcome is : 1 $$$$$$-En...

4 years ago | 0 answers | 0

0

answers

Submitted


prologue
insert this line to beginning of function then every execution wil be logged in cmd window

4 years ago | 1 download |

Question


unexpected comma in regexp output
Hi, everyone, I want to extract the word "Df(3R)ED50003". from a string below: The word is composed of A-Z a-z 0-9 ...

4 years ago | 1 answer | 0

1

answer

Question


How to find minimum number of largest square of 1 in an 2D bool matrix
I have a 2D bool image (dimension 81x65) with several irregular regions black(mainly in the middle) and other pixes white(mainly...

4 years ago | 1 answer | 0

1

answer

Question


help on regexp to extract words between ""
aMajorLine = 'var _0x3f86=["\x72\x65\x64","\x67\x72\x65\x65\x6E","\x62\x6C\x75\x65"]'; [a,b] = regexp(aMajorLine,'var _0x3f86=\...

4 years ago | 2 answers | 0

2

answers

Submitted


RMD_TLL_primer_order
Fully Automated primer order on Temasek Lifescience Laboratory(TLL)

4 years ago | 1 download |

Question


how to fread not a file, but a vector that equals fread a file in binary form?
I have a vector aVec = [45,234,123,.........] % that is equivalent to: % fread(anyfile, 'r') I want to read tha...

4 years ago | 1 answer | 0

1

answer

Question


How to open .m fiile in editor and move to specific line number?
I'm wondering if there is a command to open a .m file and also locate to specific line? The effect should be same with Matlab...

4 years ago | 1 answer | 1

1

answer

Submitted


strrep variants for case-insensitive
strrep variants for case-insensitive

5 years ago | 1 download |

Answered
hyper text display problem: " and ' inside href = " "
Also,the following hypet text does not show correctly unless modified: before modify disp('<a href="matlab: ...

5 years ago | 0

Question


hyper text display problem: " and ' inside href = " "
disp(['<a href="matlab: system(''"C:\p q.exe" "D:\ w rd.txt", -n45'')','">click me to run a file</a>']); The hyperlink termina...

5 years ago | 2 answers | 0

2

answers

Submitted


isadmin
Tell whether matlab is running in administrator mode or not.

5 years ago | 1 download |

Answered
M-script to determine if user has administrator rights
function out = isadmin out = System.Security.Principal.WindowsPrincipal(... System.Security.Principal.WindowsIdentity....

5 years ago | 1

Question


evalin('caller','mfilename') does not work.
function out = cdc out = evalin('caller','mfilename'); end This fucntion returns the 'cdc', not the caller's mfilename.

5 years ago | 2 answers | 0

2

answers

Load more