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 Oichi  
#1 Posted : 27 January 2023 02:33:08(UTC)
Oichi


Rank: Advanced Member

Groups: Registered
Joined: 27/01/2023(UTC)
Posts: 30
Woman
Viet Nam

Was thanked: 3 time(s) in 3 post(s)
Thanks for creating such a helpful software, I have a problem solving the attached system of ODEs it keeps saying Type conversion error on Adams function please help.

Gyroscope.sm (10kb) downloaded 10 time(s).

Edited by user 27 January 2023 16:09:37(UTC)  | Reason: Not specified

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

Offline Razonar  
#2 Posted : 27 January 2023 03:03:21(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Hi. You can't build matrices A and B that way, but you can with stack and augment. BTW, it seems that the interval where it finds the solution is the [0,1] giving overflow error for 1000 steps and the interval [0,5]

Clipboard01.png

Best regards.
Alvaro.
Offline Oichi  
#3 Posted : 27 January 2023 13:02:41(UTC)
Oichi


Rank: Advanced Member

Groups: Registered
Joined: 27/01/2023(UTC)
Posts: 30
Woman
Viet Nam

Was thanked: 3 time(s) in 3 post(s)
Oh okay,,, i didnt know that, Thank you so much
Offline Jean Giraud  
#4 Posted : 27 January 2023 18:07:53(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Gyroscope.sm (33kb) downloaded 4 time(s).
Offline Jean Giraud  
#5 Posted : 27 January 2023 18:36:28(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
... plot enough points to view the system response.
Cheers ... Jean.

Gyroscope.sm (34kb) downloaded 8 time(s).
Offline Oichi  
#6 Posted : 27 January 2023 18:45:43(UTC)
Oichi


Rank: Advanced Member

Groups: Registered
Joined: 27/01/2023(UTC)
Posts: 30
Woman
Viet Nam

Was thanked: 3 time(s) in 3 post(s)
Thank you so much 🥰
Offline Jean Giraud  
#7 Posted : 27 January 2023 21:08:54(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Oichi Go to Quoted Post
Thank you so much

In the same concept of parametric ODE.
Cheers ... Jean.

ODE Parametric.sm (20kb) downloaded 8 time(s).
Offline Oichi  
#8 Posted : 27 January 2023 21:24:42(UTC)
Oichi


Rank: Advanced Member

Groups: Registered
Joined: 27/01/2023(UTC)
Posts: 30
Woman
Viet Nam

Was thanked: 3 time(s) in 3 post(s)
How can I get these matlab solvers
Offline Davide Carpi  
#9 Posted : 28 January 2023 12:45:28(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1323 time(s) in 873 post(s)
Originally Posted by: Oichi Go to Quoted Post
How can I get these matlab solvers


The mwode* functions are part of the plugin Matlab Runtime Library; it ask you to install when you open a worksheet that contains these functions or you can download manually from the extensions manager.

Edited by user 28 January 2023 12:47:51(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
Offline Oichi  
#10 Posted : 28 January 2023 12:59:40(UTC)
Oichi


Rank: Advanced Member

Groups: Registered
Joined: 27/01/2023(UTC)
Posts: 30
Woman
Viet Nam

Was thanked: 3 time(s) in 3 post(s)
Originally Posted by: Davide Carpi Go to Quoted Post
Originally Posted by: Oichi Go to Quoted Post
How can I get these matlab solvers


The mwode* functions are part of the plugin Matlab Runtime Library; it ask you to install when you open a worksheet that contains these functions or you can download manually from the extensions manager.

Thank you so much
Offline Oichi  
#11 Posted : 28 January 2023 14:20:48(UTC)
Oichi


Rank: Advanced Member

Groups: Registered
Joined: 27/01/2023(UTC)
Posts: 30
Woman
Viet Nam

Was thanked: 3 time(s) in 3 post(s)
I have the plugin of Matlab runtime library and it has no ode solvers of matlab
Offline Jean Giraud  
#12 Posted : 28 January 2023 16:31:32(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Oichi Go to Quoted Post
I have the plugin of Matlab runtime library and it has no ode solvers of matlab

I have all 'mw...' from native Smath 6179.
that was installed from the option installer
rather than from plugins.
Does it suggest to re-install your version ?
Offline overlord  
#13 Posted : 28 January 2023 16:37:24(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,124
Turkey

Was thanked: 506 time(s) in 337 post(s)
Originally Posted by: Oichi Go to Quoted Post
I have the plugin of Matlab runtime library and it has no ode solvers of matlab

It may not work on windows 64-bit or linux/mono systems.
There is a trick for windows however.

Link to Extension Page

Regards
Offline Oichi  
#14 Posted : 28 January 2023 19:02:25(UTC)
Oichi


Rank: Advanced Member

Groups: Registered
Joined: 27/01/2023(UTC)
Posts: 30
Woman
Viet Nam

Was thanked: 3 time(s) in 3 post(s)
Originally Posted by: overlord Go to Quoted Post
Originally Posted by: Oichi Go to Quoted Post
I have the plugin of Matlab runtime library and it has no ode solvers of matlab

It may not work on windows 64-bit or linux/mono systems.
There is a trick for windows however.

Link to Extension Page

Regards


I did everything written in that link but I still can't find those matlab functions
Offline Oichi  
#15 Posted : 28 January 2023 19:03:30(UTC)
Oichi


Rank: Advanced Member

Groups: Registered
Joined: 27/01/2023(UTC)
Posts: 30
Woman
Viet Nam

Was thanked: 3 time(s) in 3 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: Oichi Go to Quoted Post
I have the plugin of Matlab runtime library and it has no ode solvers of matlab

I have all 'mw...' from native Smath 6179.
that was installed from the option installer
rather than from plugins.
Does it suggest to re-install your version ?


I don't understand you, can you provide further explanation
Offline overlord  
#16 Posted : 29 January 2023 03:04:21(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,124
Turkey

Was thanked: 506 time(s) in 337 post(s)
Originally Posted by: Oichi Go to Quoted Post
I did everything written in that link but I still can't find those matlab functions

Did you also made Solver.exe 32bit?
When uni wrote that information, SMath was not splitted to Solver and Writer.
Run these two commands as administrator.
Code:
CorFlags.exe /32bit+ Solver.exe
CorFlags.exe /32bit+ SMathStudio_Desktop.exe

And check if they are 32bit signed, output should look like this.
Code:
C:\Program Files (x86)\SMath Studio> CorFlags.exe Solver.exe
Microsoft (R) .NET Framework CorFlags Conversion Tool.  Version  4.8.9037.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Version   : v2.0.50727
CLR Header: 2.5
PE        : PE32
CorFlags  : 0x3
ILONLY    : 1
32BITREQ  : 1
32BITPREF : 0
Signed    : 0

If method above doesn't work, use this new version of CorFlags. CorFlags.zip (100kb) downloaded 6 time(s).

I have personally tried, it does work.
matlab.png
Offline Oichi  
#17 Posted : 29 January 2023 10:45:46(UTC)
Oichi


Rank: Advanced Member

Groups: Registered
Joined: 27/01/2023(UTC)
Posts: 30
Woman
Viet Nam

Was thanked: 3 time(s) in 3 post(s)
Originally Posted by: overlord Go to Quoted Post
Originally Posted by: Oichi Go to Quoted Post
I did everything written in that link but I still can't find those matlab functions

Did you also made Solver.exe 32bit?
When uni wrote that information, SMath was not splitted to Solver and Writer.
Run these two commands as administrator.
Code:
CorFlags.exe /32bit+ Solver.exe
CorFlags.exe /32bit+ SMathStudio_Desktop.exe

And check if they are 32bit signed, output should look like this.
Code:
C:\Program Files (x86)\SMath Studio> CorFlags.exe Solver.exe
Microsoft (R) .NET Framework CorFlags Conversion Tool.  Version  4.8.9037.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Version   : v2.0.50727
CLR Header: 2.5
PE        : PE32
CorFlags  : 0x3
ILONLY    : 1
32BITREQ  : 1
32BITPREF : 0
Signed    : 0

If method above doesn't work, use this new version of CorFlags. CorFlags.zip (100kb) downloaded 6 time(s).

I have personally tried, it does work.
matlab.png

Yes, Thanks ^^ It finally worked. I needed to do that solver corflags

Users browsing this topic
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.