Freescale Cup Companion App doesn't work!

1 次查看(过去 30 天)
Hello, I'm not able to click any button on the companion app as they are all grayed out. Only thing I can click on is "Get support package". I've already uninstalled and re-installed both the companion app and the support package multiple times. See below.

回答(2 个)

James Kristoff
James Kristoff 2014-10-27
Dear Arashjot,
This issue is seen in R2014b, because the Freescale Cup Companion App checks if the Embedded Coder Support Package for Freescale FRDM-KL25Z Support Package is installed and if it cannot find the support package it disables several buttons and provides you with a way to install the support package. It checks for the support package by getting a list of all installed support packages and then comparing their short names against the short name it thinks the support package should have. This "short name" was changed in R2014b, so the App does not recognize that the support package has been installed.
A fix has been created, and should go up soon (along with some other enhancements to the App, including an update feature), but if you would like to get started right away, here is the workaround:
1. Open the App then close it. (this makes sure the App code is on the MATLAB Path)
2. Open the main App code by executing the following command in the MATLAB Command Window:
edit(which('FreescaleCupApp.m'))
3. Edit lines 106 and 145. These lines should be:
isSP_installed = any(arrayfun(@(sp)strcmp(sp.Name, 'Freescale FRDM-KL25Z'), info));
Which needs to be updated to:
isSP_installed = any(arrayfun(@(sp)any(ismember({'Freescale FRDM-KL25Z', 'Freescale Kinetis Microcontrollers'}, sp.Name)), info));
This fix will allow the App to work for both R2014a and R2014b.
4. Save and close the file and execute the following command in the MATLAB Command Window:
clear classes
5. Reopen the App to see the changes.
  2 个评论
Arashjot
Arashjot 2014-10-28
Thanks a lot. Works perfectly! Yea it was weird that the support package is named different for R2014a and R2014b. Thanks again.
MathWorks Student Competitions Team
The fix for this issue should now be live, and any new downloads of the Freescale Cup Companion App should not see this issue.

请先登录,再进行评论。


Herbert Schacherl
编辑:Walter Roberson 2018-3-1
Hello,
it seems, I have now the same issue in Matlab 2017b.
Even the fix is already in place, I checked the code, the symptom is now back.
License is 4XXXXXXXXXXX
Many Thanks,
Herbert

类别

Help CenterFile Exchange 中查找有关 MATLAB Coder 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by