Feeds
質問
Skip all simulink-related products in setup
During setup, I select products to install. When I remove simulink, it tells me that there are products which depend on it and i...
30日 前 | 1 件の回答 | 0
1
回答質問
Matlab's C API interface degrades over time
I've been having this issue (for years!), matlab slowing down gradually when running many iterations that use the C interface, w...
1年以上 前 | 0 件の回答 | 0
0
回答質問
linprog ignores options, why?
I'm executing: options = optimoptions( 'linprog' ); options.Algorithm = 'interior-point'; %options.Algorithm = 'd...
2年以上 前 | 1 件の回答 | 0
1
回答質問
How to make assert() debug break?
I attached my solution. Not sure why it's not the default behavior. function assert1( b ) if nargin < 1 b = 0; ...
2年以上 前 | 1 件の回答 | 0
1
回答回答済み
mlx: pass a sparse matrix
From matlab support (Jerry Yan): 1. If it’s already loaded, no way to unload yet. The ability to unload the generated interfac...
mlx: pass a sparse matrix
From matlab support (Jerry Yan): 1. If it’s already loaded, no way to unload yet. The ability to unload the generated interfac...
2年以上 前 | 0
| 採用済み
回答済み
tcpclient: slow connection 2
On top of that, there's no return value (read/write), can't know if anything succeeded or the socket is valid, buggy when used w...
tcpclient: slow connection 2
On top of that, there's no return value (read/write), can't know if anything succeeded or the socket is valid, buggy when used w...
2年以上 前 | 0
| 採用済み
質問
tcpclient: slow connection 2
Previously https://au.mathworks.com/matlabcentral/answers/1578545-tcpclient-slow-connection Now, new version of matlab, and co...
2年以上 前 | 1 件の回答 | 0
1
回答質問
mlx: pass a sparse matrix
I got the mlx working: https://www.mathworks.com/matlabcentral/answers/1634580-mlx-tutorial-interfacing-with-c First, I still ...
2年以上 前 | 1 件の回答 | 0
1
回答回答済み
mlx tutorial: interfacing with c++
In matlab 2021a it works fine. When you run matObj = clib.matrixlib.Mat It looks for a file (in the path) "matrixlibInterfac...
mlx tutorial: interfacing with c++
In matlab 2021a it works fine. When you run matObj = clib.matrixlib.Mat It looks for a file (in the path) "matrixlibInterfac...
2年以上 前 | 0
| 採用済み
質問
An open question: mlx tutorial
A simple question that is still not answered: https://au.mathworks.com/matlabcentral/answers/1634580-mlx-tutorial-interfacing-w...
2年以上 前 | 0 件の回答 | 0
0
回答質問
Create a cropped power diagram
Given a set of 2D points, I'd like to create a power diagram that is cropped into a rectangle. There is this: https://au.mathw...
2年以上 前 | 0 件の回答 | 0
0
回答質問
mlx tutorial: interfacing with c++
I followed the 4-step tutorial (matlab 2019b): https://au.mathworks.com/help/matlab/matlab_external/build-interface-to-matrixop...
3年弱 前 | 1 件の回答 | 0
1
回答質問
Bindings for MKL pardiso
Maybe someone can assist with this: https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Matlab-bindings-for-pardiso...
3年弱 前 | 0 件の回答 | 0
0
回答質問
Sort struct fields in gui
I double-click a struct var in the workspace, and it opens a "variables" window with two columns: field, value. When I click th...
3年弱 前 | 1 件の回答 | 0
1
回答質問
tcpclient: slow connection
The following: t = tcpclient('localhost', port); takes about 2sec instead of being instantaneous. I'm connecting to a python ...
約3年 前 | 0 件の回答 | 0
0
回答質問
Plot elements of specific size
I'm plotting a polygon made of edges and vertices. I'd like to plot these elements at a specific size or proportion: whether the...
約3年 前 | 2 件の回答 | 0
2
回答質問
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...
4年以上 前 | 1 件の回答 | 1
1
回答回答済み
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...
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...
5年弱 前 | 0
| 採用済み
回答済み
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...
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...
5年弱 前 | 0
| 採用済み
質問
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...
5年弱 前 | 1 件の回答 | 0
1
回答質問
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...
5年弱 前 | 1 件の回答 | 0
1
回答質問
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...
約7年 前 | 1 件の回答 | 1
1
回答回答済み
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...
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...
7年以上 前 | 0
| 採用済み
質問
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...
7年以上 前 | 1 件の回答 | 0
1
回答質問
C++ engPutVariable() memory limitation
It seems that engPutVariable has memory limitation and can't send big matrices. Withing matlab I have no problem allocating: ...
10年弱 前 | 2 件の回答 | 1
2
回答回答済み
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...
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...
10年弱 前 | 0
質問
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? ...
10年以上 前 | 1 件の回答 | 1
1
回答質問
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...
10年以上 前 | 1 件の回答 | 0
1
回答回答済み
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...
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...
11年以上 前 | 0
| 採用済み
質問
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...
11年以上 前 | 1 件の回答 | 0