Here's an example code for creating a grocery shopping list in MATLAB:
main.m593 chars27 lines
This code prompts the user to enter items and categories, and stores them in arrays. The user can input as many items as they want by typing "y" when asked if they want to continue adding items. Once the user is done, the code prints out the grocery list with each item and its corresponding category.
You can modify this code to fit your specific needs such as adding date/time and more.
gistlibby LogSnag