Community Profile

photo

Saffan

MathWorks

Last seen: circa un mese fa Attivo dal 2022

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

Statistiche

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

Visualizza badge

Content Feed

Visto da

Risposto
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....

7 mesi fa | 0

Risposto
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 ...

7 mesi fa | 0

| accettato

Risposto
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...

7 mesi fa | 0

Risposto
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...

7 mesi fa | 0

Risposto
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. ...

7 mesi fa | 0

Risposto
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...

7 mesi fa | 0

Risposto
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...

7 mesi fa | 0

Risposto
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...

7 mesi fa | 0

Risposto
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);...

7 mesi fa | 0

Risposto
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...

7 mesi fa | 0

Risposto
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...

7 mesi fa | 0

Risposto
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...

7 mesi fa | 0

Risposto
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...

7 mesi fa | 0

Risposto
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...

7 mesi fa | 0

Risposto
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. ...

9 mesi fa | 0

Risposto
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...

9 mesi fa | 0

Risposto
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 ...

9 mesi fa | 0

Risposto
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,...

9 mesi fa | 0

Risposto
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...

9 mesi fa | 0

Risposto
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...

9 mesi fa | 0

Risposto
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...

10 mesi fa | 0

| accettato

Risposto
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 ...

10 mesi fa | 0

| accettato

Risposto
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...

10 mesi fa | 1

| accettato

Risposto
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...

10 mesi fa | 0

Risposto
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 ...

10 mesi fa | 0

Risposto
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...

10 mesi fa | 0

Risposto
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...

10 mesi fa | 0

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

11 mesi fa | 0

Risposto
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...

11 mesi fa | 0

Risposto
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 ...

11 mesi fa | 1

Carica altro