With this contest, one of the skills required to enter is the ability to publish code that was written in cell mode. The seventh video I ever made for my blog was on this subject. Take a look at this blog entry from 2006 to see how to publish your code. Remember to include the HTML directory in the .ZIP file that you submit as your entry into the contest.
I was having a little trouble getting images to appear in my published file. I included some .png files when I made it, and I can view them just fine on my computer. However, I uploaded my file to the FEX and none of the pictures show up now, even though I included them in the html directory.
Not sure if it’s related, but it also wouldn’t let me upload any images on the file submission page. I tried all the suggested formats.
Ken: They show up fine for me. Note, as I pointed out in the newsgroup thread, when you download the zip files from FEX, you need to actually UNZIP the file first before viewing the html to see the images. Even though Windows lets you browse directly into the zip file and directly open the html embedded in it, it’s not smart enough to also decompress the images.
Thanks Alan. The weird thing is, I can easily view all the other published files on the FEX without downloading them first. For some reason, only mine are missing images. Someone suggested that it may be a case sensitivity issue (’.png’ versus ‘.PNG’), so I may try modifying that first.
Leave a Reply
About
The MATLAB Programming Contest is a semi-annual competition where contestants submit MATLAB code to try to solve a challenge. For more information, see the overview.
I was having a little trouble getting images to appear in my published file. I included some .png files when I made it, and I can view them just fine on my computer. However, I uploaded my file to the FEX and none of the pictures show up now, even though I included them in the html directory.
Not sure if it’s related, but it also wouldn’t let me upload any images on the file submission page. I tried all the suggested formats.
Ken: They show up fine for me. Note, as I pointed out in the newsgroup thread, when you download the zip files from FEX, you need to actually UNZIP the file first before viewing the html to see the images. Even though Windows lets you browse directly into the zip file and directly open the html embedded in it, it’s not smart enough to also decompress the images.
Thanks Alan. The weird thing is, I can easily view all the other published files on the FEX without downloading them first. For some reason, only mine are missing images. Someone suggested that it may be a case sensitivity issue (’.png’ versus ‘.PNG’), so I may try modifying that first.