I am getting the message "execution of script matlabtb as a function not supported"
3 views (last 30 days)
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 on 12 Jan 2023
Edited: Bora Eryilmaz on 12 Jan 2023
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: