Community Profile

photo

Saffan

MathWorks

Last seen: 2 months ago Active since 2022

Followers: 0   Following: 0

I am an EDG Intern at MathWorks. DISCLAIMER: Any advice or opinions here are my own, and in no way reflect that of MathWorks.

Programming Languages:
MATLAB
Spoken Languages:
English
Pronouns:
He/him

Statistics

All
  • 6 Month Streak
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
Add a xlsx file as target to an image
Hi Gianluigi, I understand that you have an XLSX file for each image, with the file name being the same as the image file name....

8 months ago | 0

Answered
How to save video from satelliteScenarioViewer?
Hi Mike, Currently, there is no direct way to save a video from “satelliteScenarioViewer”, but there is a workaround using the ...

8 months ago | 0

| accepted

Answered
Figures in livescript resizing and overlapping with titles
Hi Filip, To prevent the subplot title from overlapping with the actual plot, you can use the “axes” method to create an axes o...

8 months ago | 0

Answered
Create fillable PDF forms using Report generator programatically
Hi Karteek, To create fillable PDF forms, you can utilize the report generator to create a template with designated "holes" fo...

8 months ago | 0

Answered
Error Creating ROI mask
Hi Cristhian, The “createMask” function requires the current figure in MATLAB to contain the image on which the ROI is drawn. ...

8 months ago | 0

Answered
Automatic Downloading and automatic unzip of tarred and gunzipped files.
Hi Tianchu, To unzip all the downloaded files instead of just the last one, you need to move the unzipping part inside the loo...

8 months ago | 0

| accepted

Answered
How to upload groundTruth?
Hi Thijs, You can use “readmatrix” method to extract the coordinates from the text files and “fileparts” method to extract the...

8 months ago | 0

Answered
Export meta.class to excel
Hi @Asw Jica, To achieve this, you need to first extract the relevant information from the result into a matrix or a cell arra...

8 months ago | 0

Answered
Pull numeric data from a mixed text file
Hi Birsen, To read a file with “.o” extension, you can use the “fileread” method as follows: fileContent = fileread(filename);...

8 months ago | 0

Answered
Extract data from HTML file stored in C drive of Laptop
Hi, To accomplish this, you can modify your code to add an additional step of creating an HTMLTtree using the “htmlTree” method...

8 months ago | 0

Answered
How can I determine excel range by column numbers in mscript?
Hi, To access the excel column using column number instead of column name, you can use “xlsColNum2Str” method from File Exchang...

8 months ago | 0

Answered
How to make uiHTML document fill up window
Hi Ephraim, You can achieve this by setting the position of HTML UI component to fill the entire figure as shown in the followi...

8 months ago | 0

Answered
How to implement gradient fill based on Waterfall command?
Hi, To accomplish this, you can use the “surf” method as shown in the following code snippet: [X, Y] = meshgrid(-3:.125:3); Z...

8 months ago | 0

Answered
simulate a keypress in a loop
Hi, Instead of simulating middle mouse button press, that is, “InputEvent.BUTTON2_MASK”, you can simulate the left mouse button...

8 months ago | 0

Answered
Change all block names Simulinkin a List
I understand that you want to get a list of all the block names and port labels in the Simulink model as well as their handles. ...

10 months ago | 0

Answered
Fill empty cylinders in binary volume
I understand that you are attempting to fill a hollow 3D cylinder using the “bwmorph3” function. However, the current usage of t...

10 months ago | 0

Answered
Fix bounding box in a image and save it
I understand that you want to save an image along with the bounding box without changing its size. This can be accomplished in ...

10 months ago | 0

Answered
Program for evaluating various intensity areas in an image and I get multiple errors.
Hi Alexandra, The issue in the code is that the variables being used in callback functions are not within the function's scope,...

10 months ago | 0

Answered
Is it possible to allow a re-selection of the same option from a drop down menu?
Hi Desmond, I can understand that you want to re-select the same option from a drop-down menu. To allow re-selection of the sam...

10 months ago | 0

Answered
Can someone please provide me the script to delete all the simulink data inspector from the command window?
Hi Mahesh, I can understand that you want to remove signal logging from all the signals in a model. You can run the following s...

10 months ago | 0

Answered
Extracting data to plot time series with different colour for different days
Hi Anirban, You can use the “split” function to extract “sol” values from LTST column using space as a delimiter. Here is a c...

11 months ago | 0

| accepted

Answered
How to plot frame structure with varying thickness?
Hi Naresh, You can modify the "plotStructure" function to plot the bars with varying thickness in the following way: function ...

11 months ago | 0

| accepted

Answered
I want Genetrate all possible breakage states. That is 1 become 0 but 1st,last row and 1st,last column are not going to change i.e they are allawaies 1.How can I do this? 1.
Hi Koushik, The current implementation of Bond_Break function does not incorporate all possible combinations, and therefore, it...

11 months ago | 1

| accepted

Answered
how to disable Stateflow object eliminated by optimization while code generation ?
To prevent elimination of states or other blocks from generated code by optimization, you need to uncheck Block reduction parame...

11 months ago | 0

Answered
How Can I open a matlab app from another matlab app?
Hi Justin, You can open other standalone MATLAB apps of the format .mlapp from the button callback function of the main app in ...

11 months ago | 0

Answered
How to hold previous figures when using imagesc?
Hi Raju, imagesc command creates a new plot every time it is called and hence image is overwritten by the last dataset and hold...

11 months ago | 0

Answered
Import large .par file
Hi Carlo, One way to solve this issue could be by splitting the original parquet file into multiple smaller files and create “p...

11 months ago | 0

Answered
nrDCIEncode versus physical layer subcomponents
Hi Alireza, The reason for the difference comes from the implementation of "nrDCIEncode" function. The implementation in this ...

12 months ago | 0

Answered
How to start, then pause, then resume (etc) Simulink from Matlab, as in a 'for' loop?
You can achieve this by using “sim” command to start the simulation and “set_param” command to pause, continue, stop, etc. Firs...

12 months ago | 0

Answered
Why is webwrite() returning corrupted data?
There can be multiple reasons that can cause this. One of them could be due to the different character encoding of the response ...

12 months ago | 1

Load more