Why do graphics disappear from my HTML Doc Block when I close and reopen the model in Simulink 6.5 (R2006b)?
In my Simulink model, I add a Doc Block whose 'DocumentType' parameter specifies "HTML". Afterward, I add both text and images to the HTML Doc Block.
If I close and reopen my Simulink model and then double-click the Doc Block to access its associated HTML editor, all of my graphics appear to be missing. Instead, I see a red "X" where my graphics were previously located in the HTML document.
ANSWER
Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.
This issue results from how your system's HTML editor handles graphics referenced in HTML files.
When you add a Doc Block configured for HTML to a Simulink model and invoke its HTML editor (e.g., Microsoft Word), the editor creates a temporary HTML file in your system's TEMP directory. If you paste an image into the HTML editor, the editor stores the graphic in a subdirectory whose name is relative to the temporary HTML filename. However, your HTML editor loses the relative associations between its temporary HTML file and any graphics that it references when you close the Simulink model. Consequently, if you close and reopen the model, and then double-click the Doc Block, the HTML editor can no longer locate and display your graphics.
To work around this issue, try using a more sophisticated HTML editor, such as Mozilla's SeaMonkey Composer , which allows you to specify an absolute pathname for graphic files. The following workaround uses SeaMonkey:
SEE COMPLETE ANSWER CLICK THE LINK
Comments
Post a Comment