Community Profile

photo

Toke Søltoft


Aarhus University

Active since 2014

Statistics

  • 3 Month Streak
  • Thankful Level 1

View badges

Content Feed

View by

Question


Matlab UIControl callback error
I get a Matlab UIControl Callback error. I have GUI made with GUIDE. When I start running my code I get the warning: Matlab h...

6 years ago | 2 answers | 0

2

answers

Answered
plot vector where negative data is circled
thanks so much. Works like a charm.

9 years ago | 0

Question


plot vector where negative data is circled
If I e.g. have the following two vectors: data = [1 2 3 -4 -5 6 -7 8 9 -10] pos = [1 2 3 4 5 6 7 8 9 10] How can I ...

9 years ago | 2 answers | 0

2

answers

Answered
adding to handles while loop is running
Well, I used global variables and it works fine. I tried with the pause, but it didnt help.

9 years ago | 0

| accepted

Question


adding to handles while loop is running
I have a while loop running for long time which uses different handles. While it is running I want to be able to press a button ...

9 years ago | 2 answers | 0

2

answers

Question


java error using Matlab GUI
I am getting this (below) error after my script has been running for 3-5 hours. I don't know how long exactly since it is just r...

9 years ago | 2 answers | 0

2

answers

Answered
Matlab UIControl callback error
So I found the problem. In a loop I run every 10 sec, I use fopen but forgot to use fclose. Normally if the loop is run in th...

9 years ago | 0

| accepted

Answered
Matlab UIControl callback error
yes I did since it is reproducible. But it is a bit random when it happens.

9 years ago | 0

Answered
RS485 communication in matlab
I figured it out. I just needed to change the output to ascii characters, e.g. fwrite(s,char(2,7,1,2,0,0,0,4));

9 years ago | 0

| accepted

Question


RS485 communication in matlab
Does matlab support RS485 support via com port? If so, I can't find any guide to how it works. I have tried this code, but it...

9 years ago | 1 answer | 0

1

answer

Answered
make matlab stop waiting for system return
no, but thanks anyway. I fixed it by calling a bat-file instead :D

9 years ago | 0

| accepted

Question


make matlab stop waiting for system return
I want to run a program (putty) to make a ssh connection. I do this by e.g. system('putty -load Terrameter -l root -pw ro...

9 years ago | 2 answers | 0

2

answers

Question


Append variables in mat file
Making a simple example, where I load a .mat file to append to a variable. How do I then save the .mat file again after the app...

9 years ago | 3 answers | 0

3

answers

Answered
set y-axis to strings on plot
sweet. thank you. It works.

9 years ago | 0

Question


set y-axis to strings on plot
I have these values: x_values = [-0.6085 -0.6261 -0.6372] y_values = [39306 39383 39460] y_labels = 1...

9 years ago | 3 answers | 0

3

answers

Answered
import table from .db file
The easiest way (I think) is to use sqlite3: system('sqlite3 -header -csv project.db "select * from DPV;" > results.csv');

9 years ago | 1

| accepted

Question


import table from .db file
I have some sqlite .db files which I want to import into matlab. The .db file is attached. How can I import a selected table ...

9 years ago | 1 answer | 0

1

answer