UNITS DON'T MATCH

UNITS DON'T MATCH - can't calc variable - 消息

#1 已发布: 2015/4/15 19:43:39
studoc

studoc

0个赞,共17个帖子。

组: 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.05 KiB)已下载 1399 次。
#2 已发布: 2015/4/16 05:31:58
sergio

sergio

127个赞,共342个帖子。

组: User

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

sergio
#3 已发布: 2015/4/16 05:38:30
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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
  • 有新帖
  • 无新帖