All_cels = sum(xxCels); Error Message Trouble Shooting

1 visualización (últimos 30 días)
Jennifer Pennise
Jennifer Pennise el 11 de Mayo de 2023
Editada: Cris LaPierre el 18 de Mayo de 2023
After using a cell proliferation code for many years, the system update suddenly stopped recognizing the function All_cels = sum(xxCels). I'm not sure exactly what to change in the code or if it is a problem with the images themselves. Any assistance would be greatly appreciated!

Respuestas (1)

Cris LaPierre
Cris LaPierre el 11 de Mayo de 2023
We can't see enough of your code to explain why, but the error message means that your variable xxCells does not exist. It appears to be created inside a loop or statement, so check why that code is not running.
See this example, which creates the same error because xxCells does not exist.
allCells = sum(xxCells)
Unrecognized function or variable 'xxCells'.
  2 comentarios
Jennifer Pennise
Jennifer Pennise el 18 de Mayo de 2023
Hi Cris thank you for the response.
I am not too well versed in coding to fully understand the terminology in these commands. However, I attached the full MatLab code if you are able to take a closer look at what could be the error.
Cris LaPierre
Cris LaPierre el 18 de Mayo de 2023
Editada: Cris LaPierre el 18 de Mayo de 2023
Highly recommend going through MATLAB Onramp to become familar with the fundamentals. It takes about 2 hours to complete, and will help you be comfortable using MATLAB.
Your code appears to not be loading any tif files, specifically the '*ch00.tif' ones. They appear to be located in your Documents folder. The code is written to expect them to be in the same folder as your script, which appears to be in your Downloads folder. Move your script to your Documents folder.

Iniciar sesión para comentar.

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by