Community Profile

photo

Zaikun Zhang


Hong Kong Polytechnic University

Last seen: 1 jour il y a Actif depuis 2019

Followers: 0   Following: 0

Contact

Statistiques

All
  • 5-Star Galaxy Level 3
  • Personal Best Downloads Level 2
  • GitHub Submissions Level 3
  • First Answer
  • Thankful Level 1
  • First Submission
  • First Review

Afficher les badges

Feeds

Afficher par

Question


Does MEX of MATLAB R2023b (update 6) on macOS-13 work with Xcode 15 and Intel oneAPI 2023?
[Update 20240217: I am almost sure that this is a bug of MATLAB R2023b. The default MEX options are wrongly specified. They are ...

2 mois il y a | 1 réponse | 1

0

réponse

A répondu
Strange behavior of `copyfile` regarding symlinks on Linux and macOS
Update 20231031: Below is the response from MathWorks support. " Please be assured that this has been confirmed as a bug and i...

6 mois il y a | 0

| A accepté

Question


Strange behavior of `copyfile` regarding symlinks on Linux and macOS
Consider the following function. %test_copyfile.m function test_copyfile() ...

6 mois il y a | 1 réponse | 0

1

réponse

A répondu
fmincon optimization not running properly, stops beacuase of StepTolerance
I conducted a quick experiment using the function and data in the question. The solvers are fmincon of MATLAB and PRIMA, which i...

environ un an il y a | 1

A répondu
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...

environ 2 ans il y a | 1

| A accepté

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

environ 2 ans il y a | 1 réponse | 0

1

réponse

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

environ 2 ans il y a | 1 réponse | 0

1

réponse

A répondu
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...

environ 2 ans il y a | 0

| A accepté

A répondu
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...

environ 2 ans il y a | 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 ...

environ 2 ans il y a | 1 réponse | 0

0

réponse

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

environ 2 ans il y a | 1 réponse | 0

1

réponse

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

presque 4 ans il y a | 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...

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

presque 4 ans il y a | 1 réponse | 1

1

réponse

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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

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

plus de 4 ans il y a | 1 réponse | 0

1

réponse