哪里出错?set_p​aram(bdroo​t(gcs) , 'PreloadFcn', 'load(''Da​taType.mat​'')')

2018b
set_param(bdroot(gcs) , 'PreloadFcn', 'load(''DataType.mat'')')
这条语句命令行能够运行,但是脚本无法运行,
不知何故

2 Commenti

gcs是当前选中模块,运行脚本的时候估计没点模块
bdroot(gcs)改成bdroot
18b没的试了,22b都可以

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Simulink in Centro assistenza e File Exchange

Prodotti

Release

R2018b

Community Treasure Hunt

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

Start Hunting!