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.
Tag: ML
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 save workspace variables in .MAT file in MATLAB?
The provided content is an instructional video on saving workspace variables in a .MAT file in MATLAB. The tutorial demonstrates how to load individual variables and handle unidentified functions or variables. Clear, concise steps are provided on how to save and load variables, using examples of ‘a’, ‘b’, and ‘c’ variables. It also offers help on addressing unrecognized functions or variables. The author welcomes feedback, questions, and suggestions through a given contact link or email address.
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 run Google’s AI PaLM API with cURL in MATLAB App Designer?
This video shows steps to run Google’s AI tool – PaLM – API in MATLAB App Designer. It uses the cURL command of POST method to get the request. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: programmerworld1990@gmail.com…
How to integrate Google’s generative AI PaLM API with cURL using JSON RestAPI POST in your Android App?
This video shows the steps to integrate Google’s Generative AI’s PaLM API from MakerSuite in your Android App. It uses the cURL command to integrate it. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: programmerworld1990@gmail.com Complete source code…
How to convert Decimal to Binary to Gray code using your own function in Matlab App Designer in Matlab R2023a?
This video shows the steps to write your own function in MAtlab App Designer to convert a number from Decimal to Binary to Gray code in Matlab 2023a. Details on the Gray code is referred from the wiki page: https://en.wikipedia.org/wiki/Gray_code I hope you like this video. For any questions, suggestions…
How to create random PWM (Pulse Width Modulation) Signal with fixed duty cycle in Simulink – Matlab R2023a? – using random number generator block
This video shows the steps to generate PWM signal with random trigger input signal in your Simulink Model of Matlab R2023a. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: programmerworld1990@gmail.com Screenshots:
How to detect rising edge in signal in your Simulink model in MATLAB R2023a?
This video shows steps to detect the rising edge part in your signal. So, whenever the direction of your signal goes towards a rise, the logic will detect it and generate a pulse signal for those points. It simply uses a combination of delay block and difference (minus) block to…