Forum Discussion
Altera_Forum
Honored Contributor
18 years agoloading .bmp files in Simulink...
Hi guys,
I'm testing the reference design in Simulink 7.2 Avalon Edge detector. This example works fine, but the image load and image viewer were implemented using .m matlab script using variables from/to workspace. I have some doubts because I don't know how were are the scripts invoked, whereas the blocks in simulink only make reference to the variables of the script but not to the .m file name. This is a big limitation for me because I don't know how to load two .bmp files Any suggestion ???2 Replies
- Altera_Forum
Honored Contributor
Hi V,
This issue made me loss my mind!!!! thanks a lot!!! - Altera_Forum
Honored Contributor
Hello,
The scripts are invoked using simulink callbacks. Once the .mdl file loaded, right-click on the main window and select Model Properties. From there check the content of the Callbacks tab. The procedure might vary a bit depending on the matlab version you are using. http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/index.html?/access/helpdesk/help/toolbox/simulink/ug/f4-146273.html#f4-140344 v