Improve computing time from Matlab code to other programming language code
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I have some Matlab code to compute data in Excel. It took about one hour to compute the date of some period. 1. Any suggestion to improve computing time? 2. Which kind of programming language can I rewrite to from Matlab code?
Thank you
Answers (2)
Walter Roberson
on 29 Feb 2016
0 votes
4 Comments
Jason
on 1 Mar 2016
Walter Roberson
on 1 Mar 2016
Only if you currently have a loop of xlsread() of a lot of files. 10 minutes would be more plausible.
Jason
on 1 Mar 2016
Walter Roberson
on 2 Mar 2016
Upgrade to R2015b; or use xlsread1() from the File Exchange
Jan
on 1 Mar 2016
0 votes
Use the profile to find the part of the code, which consumes the most time. Then post the relevant part of the code together with meaningful test data, such that we can run it by copy&paste. Without seeing the code it is impossible to guess if it can be accelerated by a factor 12.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!