Community Profile

photo

Daniel


Last seen: 27 jours ago Active since 2021

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

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

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

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

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

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

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

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

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

9 mois ago | 0 answers | 0

0

answers