Filter löschen
Filter löschen

Failed to evaluate mask initialization commands.

21 Ansichten (letzte 30 Tage)
wang
wang am 10 Jan. 2023
Beantwortet: Fangjun Jiang am 12 Jan. 2023

Antworten (1)

Fangjun Jiang
Fangjun Jiang am 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;

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by