Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline studoc  
#1 Posted : 16 April 2015 01:43:39(UTC)
studoc


Rank: Member

Groups: Registered
Joined: 13/05/2011(UTC)
Posts: 17
Location: coolum bch, Australia

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..
File Attachment(s):
KP at rafters.sm (41kb) downloaded 27 time(s).

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline PompelmoTell  
#2 Posted : 16 April 2015 11:31:58(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 319
Man
Italy
Location: italy

Was thanked: 109 time(s) in 93 post(s)
You can use eval()

or ask the online evaluation with shift+=


sergio
Offline Davide Carpi  
#3 Posted : 16 April 2015 11:38:30(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,648
Man
Italy
Location: Italy

Was thanked: 1331 time(s) in 876 post(s)
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.

Edited by user 16 April 2015 12:48:15(UTC)  | Reason: Not specified

Davide Carpi attached the following image(s):
2015-04-16 10_36_29-.png
2015-04-16 10_41_19-SMath Studio Desktop - [KP at rafters.sm_].png
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Users browsing this topic
Guest
Similar Topics
Energy / Temperature "Units don't match" error (Bugs & Problems)
by Nalorin 30/11/2021 05:29:41(UTC)
Units don't match problem (Bugs & Problems)
by Eduardl 06/08/2016 19:09:41(UTC)
[SS-2368] Unit behavior - units don't match issue (Bugs & Problems)
by fred47 06/08/2016 02:19:36(UTC)
Units don't match - but units not used? (Bugs & Problems)
by omorr 08/05/2013 10:27:34(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.