Hello,
I understand that you are encountering issues with the "pck" function in MATLAB.
Please refer to the following steps that may help to resolve your issue:
- Use the "which" command in MATLAB to check if the "pck" function is available and to determine its source location:
which pck
- If 'pck' is user-defined function and is not on the path, you need to add the directory to MATLAB’s search path.
- If it belongs to a specific toolbox, ensure that the corresponding toolbox is installed and that you have an active license for it.
- Additionally, verify the implementation of the pck function to ensure that the inputs are correctly formatted.
Please refer to the following MATLAB Answers that are related to the similar issue: