R2017b and higher versions seem to have addStartupFile() command line option which might be what I'm looking for... but for R2017a
How to set a script as startup shortcut for Simulink project programmatically?
1 次查看(过去 30 天)
显示 更早的评论
In MATLAB R2017a, is it possible to set a script as startup shortcut for Simulink project programmatically? I can do the same using Simulink project GUI by selecting Set Shortcut Action > Startup from context menu for the shortcut.
I have a process that generates Simulink project and want a way to switch to a specific directory in the project when the project is launched. I tried using RunAtStartup property only to find out that it is read-only.
Any pointers?
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dependency Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!