photo

Daniel


Last seen: circa 2 anni fa Attivo dal 2021

Followers: 0   Following: 0

Statistica

  • Thankful Level 2
  • Thankful Level 1

Visualizza badge

Feeds

Visto da

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

circa 3 anni fa | 0

| accettato

Domanda


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

circa 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 3 risposte | 0

3

risposte

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

circa 3 anni fa | 0

| accettato

Domanda


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

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 3 anni fa | 0 risposte | 0

0

risposte