已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 1

| 已接受

已回答
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 前 | 0

| 已接受

已解决


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

1 year 前

已回答
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 前 | 0

已解决


Balanced number
Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...

1 year 前

已解决


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

1 year 前

已解决


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

1 year 前

已解决


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

1 year 前

已解决


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

1 year 前

已解决


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

1 year 前

已回答
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 前 | 0

已回答
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 前 | 2

已回答
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 前 | 1

| 已接受

已回答
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 前 | 1

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

| 已接受

已解决


Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

1 year 前

已解决


It dseon't mettar waht oedrr the lrettes in a wrod are.
An internet meme from 2003 (read more here) asserted that readers are relatively insensitive to letter order in words, so long a...

1 year 前

已解决


Remove the small words from a list of words.
Your job is to tidy up a list of words that appear in a string. The words are separated by one or more spaces. Remove all words ...

1 year 前

已解决


What is the next step in Conway's Life?
Given a matrix A that represents the state of Conway's game of Life at one instant (time t=n), return the matrix B that represen...

1 year 前

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

已回答
~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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 1

已回答
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 前 | 0

| 已接受

加载更多