Community Profile

photo

Saffan

MathWorks

Last seen: 9 días hace Con actividad desde 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

Estadísticas

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

Ver insignias

Content Feed

Ver por

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

5 meses hace | 0

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

5 meses hace | 0

| aceptada

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

5 meses hace | 0

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

5 meses hace | 0

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

6 meses hace | 0

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

6 meses hace | 0

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

6 meses hace | 0

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

6 meses hace | 0

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

6 meses hace | 0

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

6 meses hace | 0

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

6 meses hace | 0

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

6 meses hace | 0

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

6 meses hace | 0

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

6 meses hace | 0

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

8 meses hace | 0

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

8 meses hace | 0

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

8 meses hace | 0

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

8 meses hace | 0

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

8 meses hace | 0

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

8 meses hace | 0

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

9 meses hace | 0

| aceptada

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

9 meses hace | 0

| aceptada

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

9 meses hace | 1

| aceptada

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

9 meses hace | 0

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

9 meses hace | 0

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

9 meses hace | 0

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

9 meses hace | 0

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

10 meses hace | 0

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

10 meses hace | 0

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

10 meses hace | 1

Cargar más