Simulink finds deleted or renamed library file

1 回表示 (過去 30 日間)
Kristian
Kristian 2017 年 5 月 23 日
回答済み: Fangjun Jiang 2017 年 5 月 24 日
-- Matlab R2014b 32bit --
Hi,
I have a model oopen which contains a library block. Now I close this model but keep Matlab open. Then I go to the folder which contains the model and the library file and rename or even remove the library file. Then I open the model again, and it still finds the library which does not exist anymore. I can even select "Go to library block" and get there as if it would still exist.
This is very silly. I need to close Matlab completely to get rid of it. How to fix that?

採用された回答

Fangjun Jiang
Fangjun Jiang 2017 年 5 月 24 日
Yes. The library model is most likely open but hidden.
You could run either of these two commands to force closing it.
bdclose('LibFileName');
bdclose('all');

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInteractive Model Editing についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by