HI,
Is it possible to ship two different MCR's into single setup.For example MCR 7.9 and MCR 7.14 into single setup file while compiling.
If possible, how?
Thanks!

 채택된 답변

Walter Roberson
Walter Roberson 2011년 12월 7일

0 개 추천

While this might be technically possible, maybe, you are only permitted by license to distribute the MCR for programs you wrote and built, and no program can be built with multiple MCR versions.
What benefit do you see from putting two MCR in to a single setup file?

댓글 수: 2

Manu MJ
Manu MJ 2011년 12월 14일
Thanks! for your response.
It is need for me because mathworks do not take care of backward compatibility of MCR.
Walter Roberson
Walter Roberson 2011년 12월 14일
You would not be able to call different versions of MCR from a single compiled exe, so bundling the two together is not going to help.

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Robert Cumming
Robert Cumming 2011년 12월 7일

0 개 추천

I dont think its possible no. Why would you need to ship 2?

댓글 수: 6

Manu MJ
Manu MJ 2011년 12월 14일
It is possible Mr Robert,
It is need for me because mathworks do not take care of backward compatibility of MCR.
Robert Cumming
Robert Cumming 2011년 12월 14일
I'm sure its possible outside Matlab by packaging it up yourself - but I'm still not convinced that you can do it within matlab itself...
I still dont understand why you would want to ship more than 1.
Manu MJ
Manu MJ 2011년 12월 16일
in Matlab 2008b MCR is not supporting to generate the report in doc format using report generation tool box. It is possible in 2010b but filtfilt function in signal processing tool box do not work, because mathworks changed the input argument type.
So i thought to combine both the MCR's.
Thank you.
Walter Roberson
Walter Roberson 2011년 12월 16일
It might be possible, but you would need to have two separate executables as it is not possible to call between versions.
Robert Cumming
Robert Cumming 2011년 12월 16일
exactly the point I was thinking Walter - they can coexist on the same target computer but your exe's wont be able to talk to each other.
Walter Roberson
Walter Roberson 2011년 12월 16일
One could use system() to call the other, together with the -r flag to specify the work to do. The input data could be saved in a .mat file in the one and loaded in the other.

댓글을 달려면 로그인하십시오.

Image Analyst
Image Analyst 2011년 12월 16일

0 개 추천

If you have two programs, each compiled with a different version of MATLAB that need to both be on the target computer, you can install both MCR's and they will peacefully coexist. You can do that separately, or you can have a master install program, like InstallShield, install both MCR's and any other installers you may have, all in one shot so the user only has to launch one installer.

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

태그

Community Treasure Hunt

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

Start Hunting!

Translated by