How can I set this model properties ( Enable model access to base workspace ) by API such as set_param command?
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Dear All,
I want to use Simulink API (set_param) to configure "Enable model access to base workspace" parameter, but I don't know the parameter name.
Can I do it by API?
Thank you so much for your help!
0 Commenti
Risposta accettata
Paul
il 20 Apr 2023
Does
set_param('f14','EnableAccessToBaseWorkspace','off')
do what you need?
The doc page says the parameter is either 'true' or 'false', but some experiments suggest it's either 'on' or 'off'.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Programmatic Model Editing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!