CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Why is c++ taking longer than MATLAB?

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By rleader
  • 1 Post By Abderahmane
  • 1 Post By LuckyTran

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 25, 2017, 03:36
Unhappy Why is c++ taking longer than MATLAB?
  #1
New Member
 
Rob
Join Date: Apr 2017
Posts: 1
Rep Power: 0
rleader is on a distinguished road
Comparing my run times with other people coding the same method is revealing that my c++ code is taking about 30% longer than their MATLAB codes when it should be much, much faster. I cannot seem to figure out why is this.

I use Visual studio 2015 community as my compiler.

I use of Ox (full optimization).

My hardware is comparable to my peers.

Anyone have any ideas?
Ankit Sharma likes this.
rleader is offline   Reply With Quote

 

Tags
c++, compiler, matlab, speed, visual studio


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to start Fluent with Matlab?? Jay Hu FLUENT 8 November 9, 2022 06:30
Export/Import data contour plots with Matlab meangreen FLUENT 11 October 28, 2020 10:06
Very small Matlab job: post-processing OpenFOAM (.CSV) results RbBb CFD Freelancers 1 July 11, 2016 09:00
Linking with Matlab?? LostinSpace Phoenics 0 March 25, 2013 05:39
Live connection Matlab VS OF levka OpenFOAM Running, Solving & CFD 0 July 10, 2012 04:15


All times are GMT -4. The time now is 14:35.