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

10 ビュー (過去 30 日間)
Blessing Okoro
Blessing Okoro 2021 年 3 月 23 日
回答済み: Tejas 2025 年 7 月 17 日
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.

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by