I have a code with multiple functions, and at one place I wrote (which I later use in multiple functions, multiplying values or dividing)
It gives this error
Error using ImageData
File: ImageParameters.m Line: 407 Column: 17
Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of
I don't understand why.
Without this everything works great!
Some additional data for the question:
Originally file describes class, with one of the properties
xCalibrationMicrons = ;
this.Get('pixelSize') / this.Get('magnification');
Example of function I want to change
function Microns = PixelToMicroM(this, aPixels)
Microns = aPixels * this.xCalibrationMicrons;
Basically, I want to use scale instead of this.xCalibrationMicrons.
Thank you very much!