Problem while running SIMULINK on Raspbery Pi B+using Matlab 2014a
1 次查看(过去 30 天)
显示 更早的评论
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.
<<
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145749/image.png)
>>
0 个评论
采纳的回答
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
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Raspberry Pi Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!