Is possible to use toolbox from previous MATLAB version?

16 views (last 30 days)
Hi,
I have matlab 2010 and matlab 2008 installed on my pc. Problem is, that the MATLAB Report Generator toolbox is installed only in matlab 2008 and not in matlab 2010. I wanted to know if there's any way I can use the "report" function from the rtpgen (MATLAB Report Generator) toolbox in the matlab 2010 although it's installed on matlab 2008?
Edited:
Thanks Andreas for the reply. I need the report function in order to export some report (figures+charts+text) to pdf format (can be also be doc file).
Any ideas or walkarounds are welcomed,
Shahar
  2 Comments
Andreas Goser
Andreas Goser on 28 Feb 2011
I gave an answer below, however, there is value in knowning why you consider this.
Andreas Goser
Andreas Goser on 28 Feb 2011
Speculating bit, but when you have both products in your license, you can install them for the same release. Even in case you dropped maintenance for some reason, you can then install MATLAB and MATLAB Report Generator in R2008b.

Sign in to comment.

Answers (3)

Walter Roberson
Walter Roberson on 28 Feb 2011
I would suggest saving the relevant data to a mat file from the 2010 version, then firing up the 2008 version to read the data and run the report generator.

Andreas Goser
Andreas Goser on 28 Feb 2011
I can only discourage you from even trying that. I have seen people trying it and ending up with the need for a new installation.
As some toolboxes are significantly based on MATLAB code, people who try may even think they are successful - for a little while...
  1 Comment
Walter Roberson
Walter Roberson on 28 Feb 2011
To add to that answer:
What is being asked is not supported. There are internal protections to try to prevent this. Some people try to crack the protections in various ways; as Andreas points out, doing so can provide the illusion of success, but usually ends up causing a lot of trouble.
Toolboxes use internal Matlab routines that can change meaning between releases, so using a toolbox mismatched with the main Matlab version can corrupt Matlab's internal state.

Sign in to comment.


Christian
Christian on 27 Apr 2016
So I need to pay twice for one toolbox with more or less exactly the same functionality to keep my programs running in a new Matlab version? That sounds like a definition of rip-off!
  5 Comments
Andreas Goser
Andreas Goser on 2 May 2016
The solution is to install the complete set of tools you need - MATLAB and the toolboxes - from the same release. Ideally the most recent release, but in case portions of the license(s) you use are out of maintenance, use the newest release where all products are under maintenance.
You can always contact MathWorks Support.
Walter Roberson
Walter Roberson on 2 May 2016
"but that's the case with every part of Matlab, right?"
No, because Mathworks keeps a limited lifecycle for code. Backwards compatibility is kept for longer periods for some key interfaces (like .mat file format), but for some other interfaces the new release of code does not even need to support the immediately previous release. Mathworks gets rid of functions, even public features. The internals of toolboxes are not required to be compatible with the internals of previous releases -- as long as the documented calling methods still work, Mathworks often does not even mention that the internals have changed. If a developer decides that the implementation of (say) the Mapping Toolbox was cruddy, then the developer can rewrite it without having to worry about keeping routines or data structures used by any previous release of the toolbox, and without having to worry about making "shims" to allow the previous versions to call into the new version: it is promised that previous versions will not call into the new version.

Sign in to comment.

Categories

Find more on Downloads in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!