Community Profile

photo

Owen Zhang


Last seen: etwa 3 Jahre vor Aktiv seit 2018

Statistiken

  • Thankful Level 1

Abzeichen anzeigen

Content Feed

Anzeigen nach

Beantwortet
Weird error happens after suppress warnings in parfor workers
i worked it out, i don't know why pctRunOnAll warning('off', 'all'); is not working. but just simply add warning('off', 'all'...

fast 5 Jahre vor | 1

| akzeptiert

Frage


Weird error happens after suppress warnings in parfor workers
I searched online for how to suppress warnings in parfor workers, and i got the code like: pctRunOnAll warning('off', 'all'); ...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How does the function contains behave ??
Today I'm fixing a bug, because of using contains() function. There is a condition check whether the input string is exactly in...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
To convert a variable (struct with fields of numeric matrix) to a sliced variable (an array of struct)
closed see answer above

etwa 5 Jahre vor | 0

| akzeptiert

Frage


To convert a variable (struct with fields of numeric matrix) to a sliced variable (an array of struct)
I was doing code refactor to apply parfor to some legacy code. Legacy code creates a big struct variable called 'Boot', with fie...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
how to create an enumeration class of strings ??
i used the following approaches of using class constants. and to replace hardcoded from: if strcmp(somevar, 'PDOS') to if...

mehr als 5 Jahre vor | 1

| akzeptiert

Frage


how to create an enumeration class of strings ??
Hi, I'd like to create some enumeration classes to replace the hard-coded string values. But I met the problem occurs in the a...

mehr als 5 Jahre vor | 2 Antworten | 0

2

Antworten