02-18-2009 10:46 AM
Hello,
I am working through the 6 hours introductory manual and I have noticed a few minor errors here and there. Also, as I am using version 8.6, some of things are slightly different.
However, I am stumped with exercise 3.2 regarding Mathscript. I even tried running the solution which I downloaded from the ni.com site but I still get the following error:
Error -90011 occurred at Error in function times at line 4. The sizes of the input matrices are incompatible. Verify that the matrices have the same size or that one is a scalar.
Does anyone know of an errata for this manual? Any other suggestions or hints are appreciated.
Thank you
Solved! Go to Solution.
02-19-2009 09:22 AM - edited 02-19-2009 09:26 AM
Hi,
I reproduced you error code, it isn't caused by an errata in the manual. Check the line 19 c. it is said that "Now multiply the Exp and In arrays element by element by typing “Out = In.*Exp;” and pressing Enter."
"Error -90011 occurred at Error in function times at line 4" means that the times function isn't implemented correctly, according to the help the good syntax is .*
So take a look at your code line 4 and check if the syntax is correct, otherwise replace those symbols byt he function name like in pictures I attached.
Hopefully this helps.
Regards,
|
|||
02-19-2009 09:36 AM
Dear Steve,
Thank you for your reply. I did check the expression again, after placing a space between In and .*, it solved the problem.
However, if you do try to run the VI that you download from NI's site, the VI still needs to be corrected before it runs.
Thank you for your help,
Miguel