photo

Daniel


Last seen: 2 years ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Answered
Safely interrupt a script/function
As Walter suggested, onCleanup seems to be the most elegant solution

3 years ago | 0

| accepted

Question


Safely interrupt a script/function
I have a script which loops through an array and performs an action for each itetation which takes several seconds. Also, at the...

3 years ago | 2 answers | 0

2

answers

Question


Using CLI programs in Matlab
I have a program that can be called using the command line. If I call said program, it enters and I can type commands and get re...

3 years ago | 1 answer | 0

1

answer

Question


'Storing' variables in RAM
Is there a way to store data without writing it to the drive? Result should be that 'clear all' does not affect the variable/...

3 years ago | 1 answer | 0

1

answer

Question


How to protect arbitrary variable names
I am programming functions for large Matlab projects. Inside these functions, I sometimes use arbitrary variable names like 'res...

3 years ago | 3 answers | 0

3

answers

Answered
Deleting objects from TMTool after clearing from workspace
Turns out I forgot that 'instrfind' returns all the handles. Therefore, fclose( instrfind( 'Status', 'open' ); delete( inst...

3 years ago | 0

| accepted

Question


Deleting objects from TMTool after clearing from workspace
In testing new functions which use visa, we noticed out-of-memory errors when creating and clearing visa objects. This appears t...

3 years ago | 2 answers | 0

2

answers

Question


Serialport object behavior when copied
I am reworking some code which used serial objects. As those are due to be removed, I am rewriting using serialport. In principl...

3 years ago | 0 answers | 0

0

answers