Answered
How to detect isolated points in a vector
Hi, I believe this code does what you ask for: load outputVector.mat N = 500; isolated = false(size(iidx)); L = length(iidx...

2 years ago | 1

| accepted

Answered
Change variables in the base workspace through a Matlab Function block
Hi Lisa, you can declare a function as extrinsic to address the error message, using coder.extrinsic. I would question the wor...

2 years ago | 0

Answered
File operations in parfor loop lead to file operations error randomly
Hi Martin, are you using a thread-based or process-based pool? In any case, I would not have expected this to error. Two ideas...

2 years ago | 0

| accepted

Answered
The for loop should take the name from the pictures and put them into an excel file. Excel writes the names from left to right but it should write the names from top to down.
Hi, the problem likely is that the table contains a row vector of image names. If you transpose imageNames before creating a ...

2 years ago | 1

Answered
Problem 568. Number of 1s in a binary string
Hi, find is intended for numerical non-0 elements rather than non-'0'. Instead, I would use == to compare to '0', and I would ...

2 years ago | 3

Answered
Problem 6. Select every other element of a vector
Hi Mayla, one issue I see: you are using z without having previously defined it. A key point in MATLAB: you do not need to wri...

2 years ago | 0

| accepted

Answered
Use App for User Input for calculation?
Hi Jan, I would consider live controls as the alternative. For the amount of parameters to be set, an app might still be the ...

2 years ago | 0

Answered
How to take value of X and Y from plot put it in Text Edit field using button press in Matlab App?
Hi, I have not tried within apps, but the getDataTips function from File Exchange may help you to extract the data from the dat...

2 years ago | 0

Answered
Ersetzen von doppelten Zahlen in einer Matrix durch neue Zahlen
Hallo, die Frage wurde hier beantwortet: https://www.gomatlab.de/viewtopic,p,204374.html#204374 Grüße, Harald

2 years ago | 0

Answered
Signal in Matlab Datei speichern
Hallo Kevin, das erste Problem dürfte eines mit Workspaces sein: wenn logsout in einem Callback angelegt wird, dann ist es nich...

2 years ago | 0

Answered
UIAxes changes size with each new plot
Hi, The cla function may help to reset the properties. If that does not help, please supply an example app, as to me it is not...

2 years ago | 0

Answered
Error "Limits of integration must be double or single scalars." when solve equations with "fsolve" function
Hi Yuting, since you are solving the equations numerically anyway, my recommendation would be to perform all the computations ...

2 years ago | 0

Answered
Fehler beim speichern in Fig File
Hallo, bekommst du die Fehlermeldung nun manchmal (Einleitung) oder immer (vor Fehlermeldung)? Eine mögliche Erklärung für "ma...

2 years ago | 0

Answered
HTML Markup - how to use Variables from Workspace
Hi Pascal, is my understanding correct that the HTML code is stored in a file and that it includes placeholders, and that you a...

2 years ago | 0

Answered
Echtzeit Daten laden und in einem Graphen ein- und ausschalten können durch eine Checkbox
Hallo, connectLine hat keine Rückgabe. Man muss also auf einem anderen Weg an die Signale kommen. Da ich das auf die Schnelle n...

2 years ago | 1

Answered
How to pass inputs from excel to an inport using just code
Hi Harish, when you use inports, you will typically set something like [t, u] as inputs, so I suppose what you want to do is de...

2 years ago | 0

| accepted

Answered
MATLAB GUI does not work for others
Hi Tim, When I open the GUI and hit calculate without changing any setting, it works fine for me in R2021a but I can reproduce ...

2 years ago | 1

Answered
Meine Variablengröße ist scheinbar nicht fest, obwohl sie dies sein sollte
Hallo Matthias, generell bitte möglichst das Modell (gerne soweit wie möglich vereinfacht) anhängen, damit man Vorschläge direk...

2 years ago | 0

| accepted

Answered
Side panels in AppDesigner do not appear in Version R2023a
Hi Benjamin, sorry to see that you are experiencing this problem. For me, it works fine, but that is of course no help to you. ...

2 years ago | 0

Answered
AppDesigner variable Table content
Hi Lukas, please consider providing the app as a file. This makes it easier to run and inspect it. If you have an indication t...

2 years ago | 0

Answered
tall array introduces significant overhead if I call gather() at every iteration in a loop
Hi, tall arrays are more typically used when you have a single file or a set of files that is too large to be imported into mem...

2 years ago | 0

| accepted

Answered
How to solve matrix problem C0*A*C1*B*C2*D*C3 = C4 with C=3x3-matrix and A,B,C=variables within matrix ?
Hi, In general, please consider providing examples of the known matrices so that the suggestion can be tested on a realistic e...

2 years ago | 0

| accepted

Answered
1 Variable wird nicht in der Formel benötigt aber hat irgendwie relevanz
Hallo, dass die Variable nicht verwendet wird, bezieht sich wohl auf die Funktion Ue_6_1_f. Das ist bei Differenzialgleichungen...

2 years ago | 0

| accepted

Answered
Schnittpunkt einer Geraden mit einem plot aus einer sehr großen Wertetabelle ermitteln
Hallo, bei solchen Fragen bitte generell Beispieldaten und bisherigen Code zur Verfügung stellen, damit man darauf aufbauen un...

2 years ago | 0

| accepted

Answered
wie kann ich aus einer excel datei ein plot coden/ how can i code a plot from an excel file?
Hi, my recommendation would be: 2), in the end: filename = fullfile(path, file); then may=xlsread(filename,'Temperatur','A2...

2 years ago | 0

| accepted

Answered
Wie starte ich ein externes Programm mit bestimmten Inputs aus Matlab?
Hallo, das hängt davon ab, wie man das Programm direkt aus dem Betriebssystem aufrufen kann. Viele Programme erlauben es, nac...

2 years ago | 1

Answered
Error using icinterface/fopen (line 83) Unsuccessful open: OBJ has already been opened.
Hi, it might be too late for the OP but in case others read this: The error message indicates a connection that has not been c...

2 years ago | 0

| accepted

Answered
Name variable after today's date / Variable nach aktuellem Datum benennen
Hi, a variable name needs to start with a letter and must noch contain "special" characters such as German umlauts. It would on...

2 years ago | 0

| accepted

Answered
Data Compression in Simulink (currently with a quadtree) / Variable-Size Matrix
Hi, Simulink supports variable size arrays as output of a MATLAB Function block. You need to click "Edit Data" in the upper lef...

2 years ago | 1

| accepted

Answered
Error: Illegal use of reserved keyword "for". What does it mean in my Code. Need help!
Hallo, das ist zugegebenermaßen etwas gemein, weil die Wurzel des Problems an anderer Stelle liegt. Diese anderen Stellen werde...

2 years ago | 1

| accepted

Load more