Error when using "Resample and Smooth Surfaces" function in CAT12

4 views (last 30 days)
Hello! I am trying to use the "Resample and Smooth Surfaces" function in CAT12. But when I load all my data and run the function, I get the error in the image below:
Does anyone know how to get around this error? Would greatly appreciate the help!

Accepted Answer

Arjun
Arjun on 2 Apr 2024
As per advice from several other users on this site, I downgraded my MATLAB from version R2023b to R2022b, and this seemed to fix the issue. Apparently there might be some issues with using CAT12 on the R2023 versions of MATLAB.

More Answers (1)

Yash
Yash on 1 Apr 2024
The error message you're encountering, "Unrecognised function or variable 'Psname'." suggests that there's a reference to an undefined function or variable Psname. Ensure that there's no typo in your script or function call. If Psname is supposed to be a variable or function in your workspace or script, make sure it's correctly spelled and defined before it's being used.
Also make sure that CAT12 is correctly installed and added to your MATLAB path. An incomplete or incorrect installation might lead to missing functions or scripts. You can add CAT12 to your MATLAB path by using the addpath function:
>> addpath(genpath('path_to_cat12'));
Replace 'path_to_cat12' with the actual path to your CAT12 installation directory.
Hope this helps
  1 Comment
Arjun
Arjun on 2 Apr 2024
Thank you very much for your insight! As per advice from several other users on this site, I downgraded my MATLAB from version R2023b to R2022b, and this seemed to fix the issue. Apparently there might be some issues with using CAT12 on the R2023 versions of MATLAB.

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!