The content reviews a video demonstration of how to use Simulink model design to generate a PWM (Pulse Width Modulation) signal with variable ON and OFF periods. The process involves using a CLOCK block to receive the time component, then applying a REM (remainder) block to acquire the remainder value from the timer. This value sets the threshold for the switch block, dictating the creation of the desired PWM signal. If viewers need additional help or have suggestions, they can contact the creators through their website or email.
Tag: app designer
How to use OCR (Optical character recognition) for recognizing characters and words in an image in MATLAB App R2023a?
The provided content pertains to a video tutorial explaining how to implement Optical Character Recognition (OCR) in an image using MATLAB App Designer R2023a. The video provides step-by-step instructions for creating an app capable of reading and decoding the text contained in an image. Key sections of the source code pertaining to the OCR function and the user interface are also presented. The tutorial encourages user interaction and assistance via a provided contact email address and website. Practical demonstration is given by running the OCR app to extract text from a sample image.
How to save image matrix to a JPG file using IMWRITE from MATLAB App Designer?
The content presents a MATLAB App developed in App Designer used to save an image matrix into a JPG file. This task is achieved using the IMWRITE command. The app is structured with a class called “ImageSaveToFile”, which has several properties and methods related to the app’s UI components and functions. One key function is “SaveButtonPushed”, activated when the save button is pushed, reading the image, reducing its intensity by half, and saving it to a file. The creator also provided a contact email and website for further subscriber interactions.
How to merge/ add 2 images in your MATLAB app designer?
The content provides a tutorial video link and MATLAB code for combining two images either horizontally or vertically using App Designer. The source code defines a class ‘MergeImage’ with properties for the images and a ‘Merge’ button. The function ‘MergeButtonPushed’ reads the source of two images, merges them, and assigns the result to a third image component. Another function ‘createComponents’ constructs the UI Figure and its components (the three image components and the merge button). The code covers not only the creation of the app but also how to delete UI Figure when the app is deleted.
How to export UITable data into an excel file in MATLAB App Designer R2023a?
The content shares a video demonstrating how one can save app.UITable.Data to a Microsoft Excel file from the UI designed in MATLAB App Designer R2023a. The associated code is provided, which first sets up table data with specified values. It then establishes an “Export to Excel File” button, set to execute the function of writing the table data to an Excel file upon being clicked. This feature is implemented in a UI class with properties like the UIFigure, UITable, and ExporttoExcelFileButton, alongside functions managing UI components and startup functionality.
How to display an image from web URL in UIAxes of Matlab App Designer?
The content is about opening an image from a web URL in the MATLAB App Designer. A video tutorial is shared to demonstrate the process using sample URLs. The post also lists the source code required for this feature, which includes defining properties for app components like the UI Figure and URL Edit Field, creating various methods and callbacks for component events, and initialization of components. The code is written in a class named ‘WebImageInAppDesigner’. Questions or suggestions can be addressed to Programmer World through their contact form or email.
How to pass values between 2 tabs of the UI of MATLAB App Designer R2023a?
The content provides a tutorial video on how to pass the value of an input variable from one tab to another within the user interface of Matlab’s app designer. The video, applicable for all MATLAB versions, includes complete source code and methods that handle component events in MATLAB R2023a.
How to download an image file from internet and display in UIAxes using MATLAB script in App Designer?
In this video it shows the steps to download an image file from the internet (https URL) and save it in the local PNG file. In this video it uses sample images from the below webpage:https://programmerworld.co/android/how-to-create-a-gif-from-jpeg-images-in-your-android-app-android-studio-complete-code/ And below are the respective images’ URLs:https://i0.wp.com/programmerworld.co/wp-content/uploads/2022/11/images.jpeg?w=452&ssl=1https://i0.wp.com/programmerworld.co/wp-content/uploads/2022/11/images1.jpeg?w=679&ssl=1 It uses WEBREAD command to read the…
How to run/execute a MATLAB live script or function from App designer?
This video shows the steps to run a MATLAB Live script/ function from your App designer code. In this video it creates demo live script and function. Then execute them from MATLAB command line and App Designer’s code using the file name. I hope you like this video. For any…