where to save the mask images?
Mostrar comentarios más antiguos
I'm trying to mask some blocks, using images only, which works well in the beginnings. while whenever I restart the program the images just disappear and 3 question marks ? ? ? replace them. where to save the mask images such that it can be permanent in the program?
Respuestas (2)
Sebastian Castro
el 12 de Mayo de 2015
0 votos
One of the simplest things you can start with would be to make sure the images are on the same folder as your model, so that when you navigate to that folder to open the model, the image is also on your MATLAB search path.
Another approach is to create an "images" folder and make sure that the folder to the path when the model is opened, and potentially removed from the path when the model is closed. You can do this by issuing the addpath / rmpath functions in a Model Callback, or by creating a Simulink project.
- Sebastian
1 comentario
Ahmed Badie
el 14 de Mayo de 2015
Ben Rancici
el 3 de Feb. de 2017
0 votos
I made the same observations as you, and the solution I found is just to run the simulation. Right after compiling, "???" are replaced by the images.
Categorías
Más información sobre Author Block Masks en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!