Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hey there, I am attaching the screenshot of an error that Math cad prime shows. Can anyone tell in detail what does that error mean?
It says "this function requires at least 3 arguments but is applied to 2"
Solved! Go to Solution.
Just at a guess:
in your picture it looks like "bar" the units of the first two arguments are standard black and "ms" is bold blue. This means that "bar" is not being recognized as a unit, you have to tell Prime that it is,
As Werner said, a proper diagnosis may require the full sheet.
It would be necessary to have a look at the worksheet itself rather than just the pic to be able to say something useful.
It depends on how m_gas is defined and which functions are used in the definition of m_gas.
You may use Primes error-trace option to find the position where the error actually occurs the first time.
Just at a guess:
in your picture it looks like "bar" the units of the first two arguments are standard black and "ms" is bold blue. This means that "bar" is not being recognized as a unit, you have to tell Prime that it is,
As Werner said, a proper diagnosis may require the full sheet.
This actually worked to put units beside every digit. That being said, I could not upload the Mathcad file for security reasons. Thanks though, this helps a lot.