photo

Yash


Last seen: 3 days ago Active since 2023

Followers: 1   Following: 0

Statistics

  • Knowledgeable Level 3
  • 6 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
How can we write data from mat file to Simulink data dictionary.
Hi Akshay, You can read the excel file as a table using the "readtable" function: https://www.mathworks.com/help/matlab/ref/rea...

16 days ago | 0

Answered
i have a problem on Enumerations data type
Hi, There could be multiple methods for this, but I think it is good to use a "Simulink.data.DataConnection" object. Refer to ...

16 days ago | 0

Answered
How do I write a .mat file (exported from the Design Data in an .sldd file) to a csv file?
Hi Nate, As the error says "The input cell array cannot be converted to a matrix.", the main reason is that the contents of cel...

16 days ago | 0

Answered
how to automatically creat sldd file based on csv file
Hi Wenchao, You can use the "readtable" function to read the csv. Refer to the following documentation for more details: https:...

16 days ago | 1

| accepted

Answered
figure does not print or print preview
Hi Vahid, It looks like you are providing some input to the "printopt" function. According to the following documentation https...

20 days ago | 0

Answered
>> mex -setup
Hi Asim, As the error clearly states, the "mex" command requires MinGW compiler which is not found on your machine. To install ...

1 month ago | 0

Answered
Error in path, although it "exists"
Hi Claes, This works perfectly fine in the final release of MATLAB R2019a. However, I found one mistake in the code shared, the...

1 month ago | 0

Answered
How to convert .rsp files to .txt files?
Hi Vishwanath, You might find the following File Exchange resource helpful: Load RPC Files of Type Binary Short Integer Time Hi...

1 month ago | 0

Answered
Dynamically populating live script dropdown control
Hi @DNF You can use the "Variable" section to fill the list dynamically. The only catch is, you need to define the variable in ...

3 months ago | 0

Answered
appdesigner with matlab report generator
Hi @emmanuel kuete To create an app that generates reports, please follow these steps: 1. Launch App Designer and insert a pus...

3 months ago | 0

Answered
How to find values in a nested struct with repeating fieldnames?
Hey @Oswin Hulsebos As @Stephen23 also suggested, recursion would be a good way to do this. Have a look at the example below: ...

3 months ago | 1

| accepted

Answered
How to import constants / parameters from another file
Hi @Muhammad Samin Hasan To efficiently manage constants in MATLAB, you can define them within a MATLAB class and create an ins...

3 months ago | 1

Answered
Graphics error has appeared in Linux - help me understand why.
Hi @dormant, Looks like some of the configuration settings were altered while you were trying to fix the path issue. The functi...

3 months ago | 0

Answered
How to solve this question
Hi @TERESA, Since this is an assignment question, I will provide you a few resources which will help you in solving it. 1. You...

4 months ago | 2

Answered
Help me to solve
Hi @TERESA, This seems to be an assignment question. Therefore, I won't be providing the exact solution, I will provide you a f...

4 months ago | 1

Answered
cmd+0 shortcut on mac
Hi @AL, I noticed that a similar issue has been discussed in this MATLAB Answers post: https://www.mathworks.com/matlabcentral/...

4 months ago | 0

Answered
Data Dictionary and Model Reference hierarchy
Hi Florian, I am unable to understand the query for referencing a model in the parent model's data dictionary. Let us assume t...

4 months ago | 0

Answered
Using LaTeX packages in MATLAB Plots
Hi @Luke If you want only a few characters, you can use the Unicode decimal code for them. For example, the Unicode decimal cod...

5 months ago | 0

Answered
How to modify the icon in the upper left corner of the app designer
Hi @Xiang Li, You can change the icon on the top left of the uifigure by following the steps mentioned below: Select the "app....

5 months ago | 0

Answered
how to plot x y over time
Hi @Korrawit Since you have the "eyetrackRecord" data variable, you can ustilise the hist3 function to get the heatmap. numBin...

5 months ago | 0

Answered
How to break FOR loop in simulink
Hi Minhkiyo, There are multiple solutions possible to resolve this issue: 1. While Iterator block Instead of using a "For Ite...

5 months ago | 0

Answered
Is anyone working on e-powertrain MBD?
Hi Mohan, MATLAB and Simulink are excellent tools for model-based design (MBD) and are widely used in the industry. However, th...

6 months ago | 1

Answered
Comments in code for orientation not clear
Hi Yasser, Based on the comments in your MATLAB code, it seems like the author has provided a framework for parameter extractio...

6 months ago | 0

| accepted

Answered
Employing RegularizeData3D function
Hello Richard, I couldn't find detailed documentation for the "RegularizeData3D" function you mentioned. The Add-On page does n...

6 months ago | 0

Answered
Can't connect to NI DAQ USB6003 on Windows 11/Matlab 2024a
Hello Holden, The error you are facing indicates that the installed version of National Instruments NI-DAQmx driver is not supp...

6 months ago | 0

Answered
Programmatically open ModelExplorer with a data dictionary entry selected?
Hi John, There are multiple ways to open a data dictionary in model explorer programatically and show its content. However, ple...

6 months ago | 0

Answered
How to do film dosimetry?
Hi Omid, To work with separate RGB channels in film dosimerty, the "imread" function is commonly used to read images, and "im2d...

6 months ago | 0

Answered
How to display histogram
Hello Azam, I tried executing the given code with the provided CSV file. I am able to get the histogram as shown below: Ther...

6 months ago | 0

Answered
writing a script to find roots using Newton-Raphson Method in Matlab, how ?
Hi Zee, There could be various methods to achieve this, I have attached one approach below for your reference. Please verify th...

6 months ago | 0

Answered
How to integrate MATLAB .m file in Python script to run it in OPAL-RT Platform?
Hi Prithwi, As I can understand, you have one simulink model, which will be simulated multiple times with varying parameters an...

6 months ago | 0

Load more