Undefined function 'physconst' for input arguments of type 'char'. error
Show older comments
I keep getting the above error when using this statement
dopp_mach = 2*spd_pro*freq_radar/physconst('LightSpeed');
I read through all the help suggestions but to no avail
when I type help for physconst the documentation shows up
any thoughts on what's happening ?
3 Comments
Geoff Hayes
on 25 Nov 2014
Philip - which version of MATLAB are you using, and what is the help saying with respect to the input for physconst?
Also, in the Command Window type
which physconst -all
to find all functions and files that are named as physconst. What do you observe?
Nick Albertson
on 25 Jan 2016
I am having this same issue, and I definitely have a license for the phased array toolbox. I used the "ver" command to see which licenses I have, and it shows "Phased Array System Toolbox Version 3.1" (I have Matlab R2015b). I also tried "which physconst -all" and was returned this:
"C:\Program Files\MATLAB\R2015b\toolbox\phased\phased\physconst.m % Has no license available"
What does this mean? Is part of the phased array toolbox missing or something? Thank you for your help.
Honglei Chen
on 25 Jan 2016
Hi Nick, I would suggest you contacting MathWorks technical support to resolve this issue. If you are in a network installation environment, you may also want to contact the system administrator.
Accepted Answer
More Answers (0)
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!