Problem while running SIMULINK on Raspbery Pi B+using Matlab 2014a

8 ビュー (過去 30 日間)
sky1991 matlab
sky1991 matlab 2014 年 10 月 17 日
コメント済み: Sean de Wolski 2017 年 7 月 27 日
Hi all, I have followed the steps provided by mathwork and everything is file in connection. But when I tried to open simulink example I get the erorrs
>> raspberrypi_inversion Warning: Undefined variable "codertarget" or class "codertarget.updateExtension". Warning: Detected 1 error(s) in Simulink.ConfigSet.getDialogSchema: Undefined variable "Simulink" or class "Simulink.sta.FeatureControl.getFeature".
And when I click on tool-->Run on Target Hardware---> Option it gives following error:
Warning: Detected 1 error(s) in Simulink.ConfigSet.getDialogSchema: Undefined variable "Simulink" or class "Simulink.sta.FeatureControl.getFeature".
Cannot create config set dialog >>
I am unable to resolve this please help me out what is missing and how to resolve.
<<
>>

採用された回答

Sean de Wolski
Sean de Wolski 2014 年 10 月 17 日
Sounds like a path issue:
which Simulink.sta.FeatureControl.getFeature
Should return something like
C:\Program Files\MATLAB\R2014b\toolbox\simulink\sta\ui\+Simulink\+sta\@FeatureControl\FeatureControl.p % static method or package function
Try running the following:
restoredefaultpath
rehash toolboxcache
This should resolve it.

その他の回答 (1 件)

Florian Dignath
Florian Dignath 2017 年 7 月 20 日
Hi,
I get exactly the same error as desribed here, when clicking on the "Model Configuration Parameters" Button in Simulink (Windows 7, Matlab R2014a). I installed R2014a completely new and still got the same error on a new, empty Simulink model.
When I use "restoredefaultpath, rehash toolboxcache" as suggested here, everything works fine! However, whenever I restart Matlab, the error returns. Even though, I use "save path" and don't edit anything else.
Is there a way of preventing this error permanently?
  1 件のコメント
Sean de Wolski
Sean de Wolski 2017 年 7 月 27 日
Run MATLAB as an admin then call savepath after doing the restore.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeRaspberry Pi Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by