Type conversion error while solving a system of ODEs

Type conversion error while solving a system of ODEs - Сообщения

#1 Опубликовано: 26.01.2023 20:33:08
Oichi

Oichi

3 сообщений из 35 понравились пользователям.

Группа: User

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 (9 КиБ) скачан 28 раз(а).
#2 Опубликовано: 26.01.2023 21:03:21
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

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.
#3 Опубликовано: 27.01.2023 07:02:41
Oichi

Oichi

3 сообщений из 35 понравились пользователям.

Группа: User

Oh okay,,, i didnt know that, Thank you so much
#4 Опубликовано: 27.01.2023 12:07:53
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Gyroscope.sm (32 КиБ) скачан 21 раз(а).
#5 Опубликовано: 27.01.2023 12:36:28
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... plot enough points to view the system response.
Cheers ... Jean.

Gyroscope.sm (33 КиБ) скачан 27 раз(а).
#6 Опубликовано: 27.01.2023 12:45:43
Oichi

Oichi

3 сообщений из 35 понравились пользователям.

Группа: User

Thank you so much 🥰
#7 Опубликовано: 27.01.2023 15:08:54
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Thank you so much


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

ODE Parametric.sm (19 КиБ) скачан 23 раз(а).
#8 Опубликовано: 27.01.2023 15:24:42
Oichi

Oichi

3 сообщений из 35 понравились пользователям.

Группа: User

How can I get these matlab solvers
#9 Опубликовано: 28.01.2023 06:45:28
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: Moderator

Wrote

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.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#10 Опубликовано: 28.01.2023 06:59:40
Oichi

Oichi

3 сообщений из 35 понравились пользователям.

Группа: User

Wrote

Wrote

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
#11 Опубликовано: 28.01.2023 08:20:48
Oichi

Oichi

3 сообщений из 35 понравились пользователям.

Группа: User

I have the plugin of Matlab runtime library and it has no ode solvers of matlab
#12 Опубликовано: 28.01.2023 10:31:32
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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 ?
#13 Опубликовано: 28.01.2023 10:37:24
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

Wrote

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
#14 Опубликовано: 28.01.2023 13:02:25
Oichi

Oichi

3 сообщений из 35 понравились пользователям.

Группа: User

Wrote

Wrote

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
#15 Опубликовано: 28.01.2023 13:03:30
Oichi

Oichi

3 сообщений из 35 понравились пользователям.

Группа: User

Wrote

Wrote

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
#16 Опубликовано: 28.01.2023 21:04:21
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

Wrote

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.
CorFlags.exe /32bit+ Solver.exe
CorFlags.exe /32bit+ SMathStudio_Desktop.exe
And check if they are 32bit signed, output should look like this.
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 (99 КиБ) скачан 21 раз(а).

I have personally tried, it does work.
matlab.png
#17 Опубликовано: 29.01.2023 04:45:46
Oichi

Oichi

3 сообщений из 35 понравились пользователям.

Группа: User

Wrote

Wrote

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.
CorFlags.exe /32bit+ Solver.exe
CorFlags.exe /32bit+ SMathStudio_Desktop.exe
And check if they are 32bit signed, output should look like this.
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 (99 КиБ) скачан 21 раз(а).

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


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

  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений