1 Pages (3 items)
UNITS DON'T MATCH - can't calc variable - Messages
#1 Posted: 4/15/2015 7:43:39 PM
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 69 time(s).
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 69 time(s).
#2 Posted: 4/16/2015 5:31:58 AM
You can use eval()
[albumimg]385[/albumimg]
or ask the online evaluation with shift+=
[albumimg]386[/albumimg]
sergio
[albumimg]385[/albumimg]
or ask the online evaluation with shift+=
[albumimg]386[/albumimg]
sergio
#3 Posted: 4/16/2015 5:38:30 AM
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](/en-US/file/Vod8NN/2015-04-16-10_41_19-SMath-Studio-Desktop---_KP-at-rafters_sm___png)
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.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 Pages (3 items)
-
New Posts
-
No New Posts