fipref class for matlab version 6.5

Hello everyone,
I need to use the existing class fipref in the newer matlab versions in matlab version 6.5, which means that I have to set it again for this version! how to do? I tried to copy its code, but the keyword classdef does not exist. This class is used in the bitsrl function I'am working with in my code.
Your answers are welcome. My best regards

 Risposta accettata

maha massoudi
maha massoudi il 2 Giu 2017

0 voti

thank you Mr.Jan simon for answering.
in fact i cannot upgrade the Matlab version because i'm using it with one device of the lab that can onely works with this 6.5 Matlab version.
However, if rewriting the fixed point methods is my unique solution then how to do it????
i'am blocked and my project can't have any progress if i don't solve this problem :( please help me!!!!!!!

Più risposte (1)

Jan
Jan il 2 Giu 2017
Modificato: Jan il 2 Giu 2017

0 voti

The class fipref belongs to the Fixed Point toolbox, see https://www.mathworks.com/help/fixedpoint/ref/fipref.html. It was introduced in R2006a and will not work in the ancient R6.5 . In addition it will be a license violation if you use it without having a license for at least R2006a. [EDITED: The docs say: "introduced before 2006a - see Wlater's comment].
Either you upgrade your Matlab version, or you have to rewrite all needed Fixed Point methods by your own. Sorry, there is no trivial solution.

4 Commenti

fipref was introduced in R14 (MATLAB 7.0), the release after what they have.
Jan
Jan il 2 Giu 2017
[MOVED from answer section - maha massoudi wrote:]
thank you Mr.Jan simon for answering.
in fact i cannot upgrade the Matlab version because i'm using it with one device of the lab that can onely works with this 6.5 Matlab version.
However, if rewriting the fixed point methods is my unique solution then how to do it????
i'am blocked and my project can't have any progress if i don't solve this problem :( please help me!!!!!!!
Jan
Jan il 2 Giu 2017
Modificato: Jan il 2 Giu 2017
@maha massoudi: Please post comments in the section for comments. Thanks.
You can run Matlab 6.5 and a modern Matlab on the same machine to solve the different parts of the problem. If you really need to run the Fixed Point part and the communication with the device, the only option is to rewrite the Fixed Point part. This will be a hard work and a professional programmer might need a lot of time for programming and testing, perhaps months.
There is no simple solution for your problem. An useful answer would require more details about what you have to solve.
It might be possible to run the existing device communications with MATLAB 6.5, but to run the rest of the software with newer MATLAB.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by