  Rank: Advanced Member Groups: Registered
Joined: 14/10/2015(UTC) Posts: 296
Was thanked: 75 time(s) in 56 post(s)
|
Hello The unit operation snippet fails to detect units.  Snippet_Units_Fail.sm (34kb) downloaded 17 time(s).Best Regards Carlos
|
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,557   Location: Italy Was thanked: 1279 time(s) in 841 post(s)
|
|
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects |
|
|
|
 Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,578  Was thanked: 947 time(s) in 775 post(s)
|
Originally Posted by: CBG  The unit operation snippet fails to detect units. Hola Carlos ... Jean... OK SS 6179
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 14/10/2015(UTC) Posts: 296
Was thanked: 75 time(s) in 56 post(s)
|
Hello David Thank you very much for your answer, but the snippet fails, since instead of finding the units, it only obtains the value of 1  Hola Jean Saludos Best Regards Carlos
|
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,557   Location: Italy Was thanked: 1279 time(s) in 841 post(s)
|
Originally Posted by: CBG  Hello David
Thank you very much for your answer, but the snippet fails, since instead of finding the units, it only obtains the value of 1
My bad, IDK why but yesterday seemed to work to me, but in fact it doesn't. I'll give another look at the snippet ASAP. |
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects |
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,557   Location: Italy Was thanked: 1279 time(s) in 841 post(s)
|
I see the issue. The function look for a numerator/denominator pattern in the num2str() text, but doesn't handle cases in which multiple divisions are involved. Edited by user 18 May 2022 20:18:43(UTC)
| Reason: Not specified |
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects |
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 14/10/2015(UTC) Posts: 296
Was thanked: 75 time(s) in 56 post(s)
|
Hello David Thank you very much for your attention, I hope the Snippet has a fix- On the other hand, I ran the snippet in version 6179, and it works perfectly. How is that possible?  Best Regards Carlos
|
|
|
|
  Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,557   Location: Italy Was thanked: 1279 time(s) in 841 post(s)
|
I'm not sure, however if you need a urgent fix here you have an easy way to make it working the same way. ![2022-05-19 13_24_54-SMath Studio 0.98.6179 - [Documento1_].png](/forum/resource.ashx?a=43788&b=2) Edited by user 19 May 2022 20:29:37(UTC)
| Reason: Not specified |
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects |
|
|
|
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.