Community Profile

photo

Zohar


Last seen: 5 days ago Active since 2011

Statistics

  • First Review
  • Thankful Level 1

View badges

Content Feed

View by

Question


MEX: no stdout in release
I build my mex file with VS2019. I do my output with cout << "hi" << endl; When I build in release version, it outputs fine to...

1 year ago | 0 answers | 0

0

answers

Answered
Symbolic factorization of a large sparse matrix
When a symmetric matrix (Hessian) is involved, MA57 is used (ldl), which is faster than suitesparse. The symbolic factorization...

1 year ago | 0

| accepted

Answered
PARDISO, reuse symbolic factorization
I played with it a bit. I tried tracking the memory allocations using 'profile -memory on' and 'memory'. Unfortunately, the memo...

1 year ago | 0

| accepted

Question


Symbolic factorization of a large sparse matrix
I'm solving a series of problems Ax=b, where A changes, but still has the same sparsity pattern. To exploit that, in the initial...

1 year ago | 1 answer | 0

1

answer

Question


PARDISO, reuse symbolic factorization
I installed the matlab package from pardiso-project.org, and I built the .mex linking with libpardiso600-WIN-X86-64.lib. I'm so...

1 year ago | 1 answer | 0

1

answer

Question


How to completely reset Matlab's workspace?
How can I reset Matlab's workspace (environment) as if I restarted it without actually restarting it (to avoid overhead)? Perhap...

4 years ago | 1 answer | 1

1

answer

Answered
Code ran by (C++ API call) engEvalString() is slower
I found the problem. Before running eval, there was a separate eval of: clear functions; This cleared Yalmip's init, and...

4 years ago | 0

| accepted

Question


Code ran by (C++ API call) engEvalString() is slower
I noticed something disturbing. Executing Matlab code from C++ with the API call to engEvalString() runs twice as slow than runn...

4 years ago | 1 answer | 0

1

answer

Question


C++ engPutVariable() memory limitation
It seems that engPutVariable has memory limitation and can't send big matrices. Withing matlab I have no problem allocating: ...

6 years ago | 2 answers | 1

2

answers

Answered
C++ engPutVariable() memory limitation
I opened Technical Support Case #01197310. The reply is below. I still think it's a bug, some 32bit limitation, and there is n...

6 years ago | 0

Question


fmincon check Hessian (in DerivativeCheck)
When I set opts.DerivativeCheck='on' in fmincon, it checks only the gradient. How do I tell it to check the Hessian as well? ...

7 years ago | 1 answer | 1

1

answer

Question


Show live output from API
I'm executing an .m script from C++ API (matlabEval). Unfortunately, I can't see the output until the script (e.g. one that ca...

7 years ago | 1 answer | 0

1

answer

Answered
Error using matlabpool: Elements of cell array input A must be strings
Resolved: It seems that C:\Program Files\MATLAB\R2013a\toolbox\local\pathdef.m is in the installation directory (reall...

8 years ago | 0

| accepted

Question


Error using matlabpool: Elements of cell array input A must be strings
Hi, Matlab 2013a Winx64. I execute: matlabpool I get an error: >> matlabpool Starting matlabpool using the 'loc...

8 years ago | 1 answer | 0

1

answer

Answered
MATLAB API automation
Actually in windows if you enableservice() as I pointed out, or run matlab /automation before executing your app, the rule is ...

10 years ago | 0

Answered
MATLAB API automation
In Windows we can run the following command in matlab gui, and the automation would be enabled: enableservice('AutomationSe...

10 years ago | 0

Question


MATLAB API automation
Hi, I wrote on Windows a C++ standalone application, which communicates with the MATLAB engine through its API. Namely: #inc...

10 years ago | 3 answers | 0

3

answers