Renaming a model from explorer or MATLAB folder
1 回表示 (過去 30 日間)
古いコメントを表示
Hello all,
I want to know when a user renames a model with F2, either from windows explorer or from MATLAB Current Folder, if there is a Callback called and how to catch or overwrite it.
I`m asking this because when I rename my models I want some data to be saved in a file.
I do not want the model to be opened.
I hope my question is clear.
Thanks in advance,
Adrian.
0 件のコメント
回答 (1 件)
TAB
2012 年 6 月 29 日
編集済み: TAB
2012 年 6 月 29 日
AFAIK, it is not possible to handle the model file rename event or callback in the matlab when file is renamed from or outside matlab.
What you can do is, design your own GUI (or write a function) in matlab to rename the model file.
In the GUI/Function, you can save your data or do your operation.
3 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!