Community Profile

photo

Zaikun Zhang


Hong Kong Polytechnic University

Last seen: 3 days ago Active since 2019

Statistics

All
  • First Answer
  • Personal Best Downloads Level 1
  • Thankful Level 1
  • First Submission
  • GitHub Submissions Level 1
  • First Review

View badges

Content Feed

View by

Answered
Bug in MATLAB R2022a: MEX does not support gfortran 8.x as specified in the official documentation
According to MEX team (20220406, copied from a GitHub Issue): This is bug with R2022a and we are fix it as soon as possible. T...

2 months ago | 1

| accepted

Question


Bug in MATLAB R2022a: MEX does not support gfortran 8.x as specified in the official documentation
Update (20220406): The MathWorks MEX team has confirmed this problem as a bug of MATLAB R2022a. A workaround is provided by the ...

2 months ago | 1 answer | 0

1

answer

Question


Does the execution of addpath/rmpath/savepath in one workspace affect other workspaces?
Does the execution of addpath/rmpath/savepath in one workspace affect other workspaces? Suppose that I have two instances of MA...

3 months ago | 1 answer | 0

1

answer

Answered
Bug: MATLAB crashes when mexifying the official `timestwo.c`
Here is the latest update (20220225) received from the supporting team of MathWorks: ``` Got the confirmation that the crash...

3 months ago | 0

| accepted

Answered
Why trust-region-reflective algorithm in fmincon require a gradient as input?
What you @SM are looking for is called Derivative-Free Optimization methods. They do not require derivatives or analytical formu...

3 months ago | 0

Question


Is MEX known to be slow on macOS?
Question: Is MEX known to be slow on macOS? Here, "slow" refers to the speed of setting MEX up, of compiling MEX code, and of ...

3 months ago | 0 answers | 0

0

answers

Question


Bug: MATLAB crashes when mexifying the official `timestwo.c`
Update (20220225): Here is the latest update received from the supporting team of MathWorks. ``` Got the confirmation that th...

3 months ago | 1 answer | 0

1

answer

Submitted


PDFO (Powell's Derivative-Free Optimization solvers)
Interfaces by Tom. M. Ragonneau and Zaikun Zhang for using late Professor M. J. D. Powell's derivative-free optimization solvers...

8 months ago | 13 downloads |

Thumbnail

Answered
Need help with mathematical optimization - fmincon
Your problem is a simulation-based optimization problem. You may try PDFO ( https://www.mathworks.com/matlabcentral/fileexchan...

2 years ago | 0

Question


Supress MEX warning: f951: Warning: Nonexistent include directory ‘MATLABROOT/simulink/include’ [-Wmissing-include-dirs]
I have MATLAB 2019b but not simulink installed on my computer (ubuntu 16.04). When trying mex(fullfile(matlabroot, 'extern', 'e...

2 years ago | 1 answer | 0

1

answer

Question


Recursive definition of anonymous function
(Note that the mathematics in this question is hypothetical and illustrative.) Suppose that I am writing a function "foo" to mi...

2 years ago | 1 answer | 1

1

answer

Question


The return type of mxIsDouble, mxIsSingle, and mxIsClass (mex for Fortran)
According to https://www.mathworks.com/help/matlab/apiref/mxisclass.html the return of mxIsDouble for Fortran (also mxIsSingle ...

3 years ago | 1 answer | 0

1

answer

Question


Portable declaration of REAL variables in mex gateway for Fortran
(The same question is asked here: https://stackoverflow.com/questions/57244555/portable-declaration-of-real-variables-in-mex-gat...

3 years ago | 1 answer | 0

1

answer