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.
Error when using "Resample and Smooth Surfaces" function in CAT12
3 views (last 30 days)
Show older comments
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!
0 Comments
Accepted Answer
More Answers (1)
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
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!