photo

Toke Søltoft


Aarhus University

Actif depuis 2014

Followers: 0   Following: 0

Message

Statistiques

  • 3 Month Streak
  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

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

plus de 6 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
plot vector where negative data is circled
thanks so much. Works like a charm.

plus de 9 ans il y a | 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 ...

plus de 9 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
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.

plus de 9 ans il y a | 0

| A accepté

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

plus de 9 ans il y a | 2 réponses | 0

2

réponses

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

plus de 9 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
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...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
Matlab UIControl callback error
yes I did since it is reproducible. But it is a bit random when it happens.

plus de 9 ans il y a | 0

Réponse apportée
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));

presque 10 ans il y a | 0

| A accepté

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

presque 10 ans il y a | 1 réponse | 0

1

réponse

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

presque 10 ans il y a | 0

| A accepté

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

presque 10 ans il y a | 2 réponses | 0

2

réponses

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

presque 10 ans il y a | 3 réponses | 0

3

réponses

Réponse apportée
set y-axis to strings on plot
sweet. thank you. It works.

environ 10 ans il y a | 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...

environ 10 ans il y a | 3 réponses | 0

3

réponses

Réponse apportée
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');

environ 10 ans il y a | 1

| A accepté

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

environ 10 ans il y a | 1 réponse | 0

1

réponse