Effacer les filtres
Effacer les filtres

Failed to evaluate mask initialization commands.

21 vues (au cours des 30 derniers jours)
wang
wang le 10 Jan 2023

Réponses (1)

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

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by