Rank: Advanced Member Groups: Registered
Joined: 14/10/2015(UTC) Posts: 308
Was thanked: 77 time(s) in 58 post(s)
|
Hello The unit operation snippet fails to detect units. Snippet_Units_Fail.sm (34kb) downloaded 18 time(s).Best Regards Carlos
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,693 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
|
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 983 time(s) in 811 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: 308
Was thanked: 77 time(s) in 58 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,693 Location: Italy Was thanked: 1368 time(s) in 895 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 consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,693 Location: Italy Was thanked: 1368 time(s) in 895 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 consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 14/10/2015(UTC) Posts: 308
Was thanked: 77 time(s) in 58 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,693 Location: Italy Was thanked: 1368 time(s) in 895 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. Edited by user 19 May 2022 20:29:37(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: 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.