photo

Deep


Last seen: Today Active since 2023

Followers: 1   Following: 0

Programming Languages:
MATLAB
Spoken Languages:
English

Statistics

All
  • Knowledgeable Level 3
  • Solver
  • First Answer

View badges

Feeds

View by

Answered
Pulse width modulation using simscape blocks
Hi Krishna, I understand you are seeing a straight line upon measuring through the “Voltage Sensor” block instead of the expec...

5 days ago | 0

Answered
Issue When Update to MATLAB R2024a
Hi Eric, It sounds like you are experiencing an issue with MATLAB installer where the "Yes" and "No" radio buttons are overlapp...

6 days ago | 0

| accepted

Answered
VideoReader Motion JPEG 2000 format does not work
Hi Evan, I understand that when you are importing an MJ2 file using ‘VideoReader’, it works fine in MATLAB R2023b but gives b...

6 days ago | 0

Answered
Why circuit breaker in simulink/simscape is not working when open circuit condition?
Hi Arun, I replicated your model from the screenshot you posted. On running it, the simulation froze after the circuit breaker...

8 days ago | 0

| accepted

Answered
How do I disable Simulink Toolstrip Actions in MATLAB R2023b?
The action names that show up in the MATLAB Command Window after you hover over an icon and press CTRL should be used as-is. Not...

9 months ago | 0

| accepted

Answered
How to remove Nan layers from 3D array?
Here's a short demo on this: % A is your 3D array A = rand(4,4,4); A(:,:,2) = nan; % making second layer nan for demonstratio...

1 year ago | 1

| accepted

Answered
Display text on Simulink subsystem without using mask.
I can't seem to find a way to do it without masks. As a workaround, you can add annotations to your model.

1 year ago | 0

Answered
Call a Matlab file as a library in other functions
The following links should be useful to you. Create Functions in Files Files and Folders that MATLAB accesses When you call a...

1 year ago | 0

Answered
Video Reader: Failed to initialize internal resources
Yeah, it seems that H.265 is unsupported for this. You can use ffmpeg to convert it to H.264 for your task. ffmpeg -i input.mp4...

1 year ago | 1

| accepted

Answered
Send command on serial port : "Invalid argument at position 1. Value must be a scalar." why ?
According to visadev doc page, its constructor accepts a scalar string or a char array. In your code, resourceCOM = foundVISA(...

1 year ago | 0

| accepted

Answered
How to delete temp files generated by simulink at the end of each iteration of a for loop?
for i = 1:n % Run your Simulink model here... % Get system's temporary directory. % Use 'cacheFolder = pwd;' in...

1 year ago | 0

Answered
Problem with selecting location in appdesigner
I am able to replicate this issue and tried looking for ways to make it work. As a simple workaround, you can change the focus t...

1 year ago | 0

Answered
Change value of parameters in simulink over time
You can use a 'clock' and model your u,v signals as functions of the simulation time. For modeling complex and bulky math functi...

1 year ago | 2

Answered
OCR returns slightly different results on different machines
GPUs and CPUs can handle floating-point operations differently due to their distinct hardware architectures, potentially leading...

1 year ago | 1

| accepted

Answered
How to make game snake running after answer question in matlab app designer
Your 'break' statements are outside the blocks for wrong answer. The loop would break on any answer, whether its correct or wron...

1 year ago | 1

Answered
How best to convert a (lat,long) network into a "line diagram" in MATLAB?
If you only need an unscaled version of your graph, it is simply possible to plot the graph in MATLAB with unweighted edges, and...

1 year ago | 0

Answered
Control display state of Tabs in a second app with UI?
Create Multiwindow Apps in App Designer This article covers well on how you can share data b/w multiwindow apps that can run to...

1 year ago | 0

Answered
isSelfIntersecting function gives apparently incorrect result
Hi Ed, No, you have defined the mesh correctly and are using isSelfIntersection just fine. This is likely due to floating poi...

1 year ago | 0

| accepted

Answered
Extract data from fig file and redraw the plot
Hi, this will extract the data of the 4 lines from the .fig file and store them in XData and YData. The code should be self expl...

1 year ago | 0

| accepted

Answered
Increase the number of elements inside a cell
You can simply add empty columns in a loop. Given out and parameter are defined (out can be a cell of any shape, need not be ...

1 year ago | 0

Answered
~exist(xxx) in IF condition not working
exist documentation: link According to the documentation, exist can have 8 return values. It not only checks for variables in...

1 year ago | 0

Answered
Updating legend for a plot with markers and errorbar
If I understand correctly, this is the output that you desire. Here's how you can plot the fixed legend for your data. Hope t...

1 year ago | 0

Answered
audio wave filter out bandpass 900-1kHz
You can read your audio file using the audioread function: [y, Fs] = audioread('audiofile.wav'); More info: audioread To fi...

1 year ago | 0

Answered
Can someone give me a simple example about how to use the uibutton 'state' property?
You can use a simple "PushButton" or "ToggleButton". Here's an example of how to do this with a ToggleButton in MATLAB: First, ...

1 year ago | 1

Answered
How do you temporarily disable Fast Restart in Reinforcement Learning.
Here's how you can disable fast restart: set_param('modelname', 'FastRestart', 'off'); Here, replace 'modelname' with the actu...

1 year ago | 0

| accepted

Answered
Database username and password problem
Hi. There could be a few reasons for this behavior: The Default User Account Control (UAC) Settings could be causing the issue....

1 year ago | 0