what is the infoC?

1 visualización (últimos 30 días)
mohd akmal masud
mohd akmal masud el 22 de Dic. de 2020
Respondida: Gaurav Garg el 29 de Dic. de 2020
Hi all, I got the error when running my coding. anyone know the error?
what is the "infoC"?
Reading images. Please wait...
Error using save
Variable 'infoC' not found.
Error in SPECTsingle (line 69)
save info infoC
  2 comentarios
Walter Roberson
Walter Roberson el 22 de Dic. de 2020
I find a couple of places on the Internet that hint that there might be a software package named SPECTsingle, but I am not able to locate such a package, so I do not know what the code is that you are using.
The message is saying that SPECTsingle expected to be able to save one of its variables that it named infoC but that it was not able to do so, such as if the variable was not assigned to. infoC is nothing specific to MATLAB: it is some internal variable name for the package. For example, if you had code that looked like
for K = 1 : numimages
if mean(ImageData{K}(:)) > 0.3
infoC = K;
break
end
end
then you run the risk that the condition was never true and so infoC was never assigned to.
mohd akmal masud
mohd akmal masud el 22 de Dic. de 2020
you true. i got it. thank your walter roberson. i have contact you by email long time ago.

Iniciar sesión para comentar.

Respuesta aceptada

Gaurav Garg
Gaurav Garg el 29 de Dic. de 2020
Hi Akmal,
On doing a quick seach in the code directory of MATLAB, I found that there is no such package or line of code mentioning 'SPECTsingle'.
So, I would suggest you to work on the comment above, and SPECTsingle and infoC might be variables used in your code itself.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by