UNITS DON'T MATCH

UNITS DON'T MATCH - can't calc variable - Messages

#1 Posted: 4/15/2015 7:43:39 PM
studoc

studoc

0 likes in 17 posts.

Group: User

Stumped…

I have a small problem calculating a variable within a routine, that has worked before, but doesn't now..
Error is "units don't match".
When I look at the variables, the units are all the same.. don't see how I can trick the program into believing the this…

Now, I can't seem to paste an image in here and although I have checked the box marked, "attach files to this post" i can't see anywhere to upload files..
If someone could help me solve that problem in the first instance, the initial problem may prove to be a snatch..

Thanks..
KP at rafters.sm (40 KiB) downloaded 43 time(s).
#2 Posted: 4/16/2015 5:31:58 AM
sergio

sergio

115 likes in 329 posts.

Group: User

You can use eval()
[albumimg]385[/albumimg]
or ask the online evaluation with shift+=
[albumimg]386[/albumimg]

sergio
#3 Posted: 4/16/2015 5:38:30 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

The issue is related to the symbolic optimization. Switch the optimization of the definition to numeric to solve the issue.

About the attachments, check the button "Attach files to this post?" and click the POST button, you will be redirected to another page with a dialog to upload the files.
2015-04-16 10_41_19-SMath Studio Desktop - [KP at rafters.sm_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • New Posts New Posts
  • No New Posts No New Posts