Answered
problem with watershed 3D segmentation
max(max(max(L))) is 5, which means there are already 5 cells detected. you can play like this : implay(L*40,2) the display ra...

nästan 3 år ago | 0

Answered
How to prevent a figure window to automatically take focus
This is how I solve the problem: focusHwnd = WindowAPI(0,'GetFocusHWnd'); % ... do the figure, plot, etc. WindowAPI(focusHwnd...

nästan 3 år ago | 0

Question


File size continuously increase when use h5D.write() to update some data block in original place.
Hi, I am trying to update a data block into a h5 file using h5D.write. The updated file opens with no problem, but the file si...

nästan 3 år ago | 1 answer | 0

1

answer

Question


strsplit: the deliminator on both sides was still kept but not removed
Hi, I am using strsplit to split a string by space using R2016a. I expect all the space was removed, but I got: strsplit(' aa...

ungefär 3 år ago | 1 answer | 0

1

answer

Question


fread does not return the required length of data for large file.
Hi I aim to read a region of data from a large file in binary mode, but the returned vector is of wrong length. % a file of 3...

mer än 3 år ago | 1 answer | 0

1

answer

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),......

mer än 3 år 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?

nästan 4 år 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...

nästan 4 år 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. ...

nästan 4 år 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...

nästan 4 år 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...

ungefär 4 år 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...

mer än 4 år 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...

mer än 4 år 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...

mer än 4 år 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 ...

mer än 4 år 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...

mer än 4 år 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:...

mer än 4 år 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...

mer än 4 år 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.

mer än 4 år 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

mer än 4 år 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...

nästan 5 år 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...

ungefär 5 år ago | 0 answers | 0

0

answers

Submitted


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

ungefär 5 år 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 ...

ungefär 5 år 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...

ungefär 5 år 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=\...

ungefär 5 år ago | 2 answers | 0

2

answers

Submitted


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

ungefär 5 år 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...

ungefär 5 år 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...

mer än 5 år ago | 1 answer | 1

1

answer

Submitted


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

mer än 5 år ago | 1 download |

Load more