Failed to evaluate mask initialization commands.

12 views (last 30 days)

Answers (1)

Fangjun Jiang
Fangjun Jiang on 12 Jan 2023
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;

Categories

Find more on Simulink in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!