Is possible to use toolbox from previous MATLAB version?
15 次查看(过去 30 天)
显示 更早的评论
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 个评论
Andreas Goser
2011-2-28
I gave an answer below, however, there is value in knowning why you consider this.
Andreas Goser
2011-2-28
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.
回答(3 个)
Walter Roberson
2011-2-28
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.
0 个评论
Andreas Goser
2011-2-28
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 个评论
Walter Roberson
2011-2-28
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.
Christian
2016-4-27
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 个评论
Andreas Goser
2016-5-2
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
2016-5-2
"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.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!