필터 지우기
필터 지우기

I am getting the message "execution of script matlabtb as a function not supported"

조회 수: 4 (최근 30일)
Why am I getting the error
execution of script matlabtb as a function not supported
when I try to run the script per the instructions? It appears that there is only one matlabtb.p file in the path.
This happens on both R2021b and R2022b.
I am running on Windows 11 (Pro).

채택된 답변

Bora Eryilmaz
Bora Eryilmaz 2023년 1월 12일
편집: Bora Eryilmaz 2023년 1월 12일
See the note in the documentation page: https://www.mathworks.com/help/hdlverifier/ref/matlabtb.html
"Enter this command in the HDL simulator, not in MATLAB"
When you try to run it as a MATLAB command, you will get the error that you are seeing:
matlabtb 1
Execution of script matlabtb as a function is not supported:
/MATLAB/toolbox/edalink/foundation/hdllink/matlabtb.p
  댓글 수: 1
Ashley Scott
Ashley Scott 2023년 1월 12일
Yes, this solved my problem. I tried following the instructions in the example instead of reading the description of the function in the documentation page.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by