Error: Execution of script pskmod as a function is not supported:

3 views (last 30 days)
I get this error while trying to use pskmod, but it doesnt occur when i use qammod.
Execution of script pskmod as a function is not supported:
C:\Users\AndrewOkoro\Documents\MATLAB\pskmod.m
what could be the problem and how do i fix it.
PS: I have communication toolbox downloaded

Answers (1)

Tejas
Tejas on 17 Jul 2025
The above-error message might be due to presence of another script of higher priority with the same name "pskmod" on MATLAB path.
Use the below command to fetch the list of all the "pskmod" files on MATLAB path:
>> which -all pskmod
To resolve the issue, rename or remove the files that have higher priority on MATLAB path than the file you intend to use.

Community Treasure Hunt

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

Start Hunting!