Failed to evaluate mask initialization commands.

21 次查看(过去 30 天)

回答(1 个)

Fangjun Jiang
Fangjun Jiang 2023-1-12
This is the first three lines of code in the initialization function of that "Image from File" block.
The variable "ImageValue" does not exist, means there is error executing the first two lines of code.
So make sure that "sssna.bmp" file exists and it is in the right bitmap format.
vipblks_nd_compatible;
[v, namechange]=vipblkimsrc(1, '',0,FileName);
ImageValue = v;

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by