CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   MATLAB license and toolboxes for developing own code in C++ (https://www.cfd-online.com/Forums/main/196669-matlab-license-toolboxes-developing-own-code-c.html)

MsKK December 11, 2017 13:47

MATLAB license and toolboxes for developing own code in C++
 
Hello everyone,

I want to buy MATLAB and I was wondering what toolboxes will I need to develop my own code (MHD, plasma. Basically Navier Stokes + Maxwell). Thank you.

lcarasik December 12, 2017 00:17

Quote:

Originally Posted by MsKK (Post 674772)
Hello everyone,

I want to buy MATLAB and I was wondering what toolboxes will I need to develop my own code (MHD, plasma. Basically Navier Stokes + Maxwell). Thank you.

You prototype your code in Python (free) and I don't believe there are any specific toolboxes for those sets of physics.

FluidWarrior December 12, 2017 00:59

Matlab vs. Python
 
Matlab Toolboxes are not organized in physical areas. Toolboxes consist of commands for signal processing, statistics, curve fitting...

It depends on what you want to do but you need:
- Matlab (itself)
- Matlab Coder (for C or C++ Code), Matab Compiler (standalone programs) oder Compiler SDK (libraries for other programming languages)
- Different Toolboxes for whatever you want

You are a starter in Matlab, so i think you can also use Python, because it is similiar to Matlab (with an easy syntax). You get so Libraries like NumPy, SciPy, matplotlib and so on for free.

JBeilke December 12, 2017 07:46

And if you don't like Python you can also use PDL. It is the Perl equivalent to NumPy ...

http://pdl.perl.org/?docs=MATLAB&title=PDL::MATLAB

MsKK December 13, 2017 07:23

I know I can use Python, but I need to know about Matlab Toolboxes. Which ones do you recommend?

MsKK December 13, 2017 07:25

Quote:

Originally Posted by FluidWarrior (Post 674801)
Matlab Toolboxes are not organized in physical areas. Toolboxes consist of commands for signal processing, statistics, curve fitting...

It depends on what you want to do but you need:
- Matlab (itself)
- Matlab Coder (for C or C++ Code), Matab Compiler (standalone programs) oder Compiler SDK (libraries for other programming languages)
- Different Toolboxes for whatever you want

You are a starter in Matlab, so i think you can also use Python, because it is similiar to Matlab (with an easy syntax). You get so Libraries like NumPy, SciPy, matplotlib and so on for free.

Thanks. What toolboxes do you recommend? (I can see you speak German by the casual "oder" slip there :)).

LuckyTran December 15, 2017 18:04

You will probably want the parallel computing toolbox.

MsKK December 18, 2017 07:27

Quote:

Originally Posted by LuckyTran (Post 675298)
You will probably want the parallel computing toolbox.

Thanks! Which other toolboxes would you recommend?

Jonas Holdeman December 18, 2017 10:15

I would not worry about toolboxes when starting out. Matlab has a good development environment, editor & graphics. You might consider some of the expensive toolkits later, depending on the direction your development takes you. It is a good policy to not buy something until you really need it. If your development takes you in the direction of parallel processing, then add that toolkit as a learning tool. If you get to the production stage, then you might consider the compiler or translating your code to a more efficient language. If you have proved your code in Matlab, this code can serve as a reference as you develop the faster code.


All times are GMT -4. The time now is 06:08.