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

3 次查看(过去 30 天)
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

回答(1 个)

Tejas
Tejas 2025-7-17
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!

Translated by