opening SCN file in MATLAB

조회 수: 14 (최근 30일)
lin ai
lin ai 2020년 10월 26일
댓글: JSC 2021년 4월 12일
I have downloaded the Bio-Formats zipped folder bfmatlab and unzipped on my MATLAB path. But I still can't use function bfopen().The error information as pictures.
  댓글 수: 1
Walter Roberson
Walter Roberson 2020년 10월 26일
I would experiment with renaming the file so that it did not have periods in the name except before scn

댓글을 달려면 로그인하십시오.

답변 (1개)

Priysha LNU
Priysha LNU 2020년 10월 28일
Hi,
Please check the version of the Bio-Formats library being used by the following command:
disp(char(loci.formats.FormatTools.VERSION))
If this results in the following isse,
Undefined variable "loci" or class "loci.formats.FormatTools.VERSION".
then the Bio-Formats JARs are not on the Java classpath. If you have downloaded the latest Bio-Formats MATLAB toolbox, you should be able to put these JARs on the classpath and return the version of the library via:
[status,version] = bfCheckJavaPath()
Having performed these operations, please try re-running the toolbox function:
data = bfopen('<filename>.scn');
If there is still an error, please consider renaming the '.scn' file to a string which does not contain any characters (.,/?<>:;'"*&^%$#@<space>) and try re-rerunning the command.
DISCLAIMER: These are my own views and in no way depict those of MathWorks.
  댓글 수: 4
lin ai
lin ai 2020년 11월 3일
Sorry, it's not convenient to give you the file. Maybe is it the version of MATLAB and the version of Bio-Formats not matched? I used MATLAB2020 and Bio-Formats6.5.1. If so, could you tell me the successful match of MATLAB and Bio-Formats? Thank you so much.
JSC
JSC 2021년 4월 12일
I know this is months later, but it looks to me like the issue is that you named your file "try. scn" with a space after the period, instead of "try.scn" without a space.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by