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

etwa ein Jahr vor | 0

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

etwa ein Jahr vor | 0

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

etwa ein Jahr vor | 1

| akzeptiert

Beantwortet
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(...

etwa ein Jahr vor | 0

| akzeptiert

Gelöst


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

etwa ein Jahr vor

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

etwa ein Jahr vor | 0

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

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

etwa ein Jahr vor | 0

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

etwa ein Jahr vor | 2

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

etwa ein Jahr vor | 1

| akzeptiert

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

etwa ein Jahr vor | 1

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

etwa ein Jahr vor | 0

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

etwa ein Jahr vor | 0

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

etwa ein Jahr vor | 0

| akzeptiert

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

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

etwa ein Jahr vor | 0

| akzeptiert

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

etwa ein Jahr vor | 0

Beantwortet
~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...

etwa ein Jahr vor | 0

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

etwa ein Jahr vor | 0

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

etwa ein Jahr vor | 0

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

etwa ein Jahr vor | 1

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

etwa ein Jahr vor | 0

| akzeptiert

Mehr laden