Answered

Why do I get a permission denied error in regards to classpath.txt or pathdef.m when starting MATLAB?

This is a very ugly design! All path settings should be user-wide instead of system-wide by default! MATLAB default pathdefs sh...

Why do I get a permission denied error in regards to classpath.txt or pathdef.m when starting MATLAB?

This is a very ugly design! All path settings should be user-wide instead of system-wide by default! MATLAB default pathdefs sh...

1 year ago | 1

Submitted

无符号 整数 与 逻辑 数组 互转 Unsigned Integer to and from Logical Array

本包可以将逻辑数组拼合为无符号整数，以及将无符号整数展开为逻辑数组

1 year ago | 1 download |

Solved

Undocumented MATLAB tricks No. 1 - Save a function-returned struct

Often we face the case when we want to save a function-returned struct to a mat file with each of its field as individual variab...

1 year ago

Problem

Undocumented MATLAB tricks No. 2 - Tell the parfor index

Your function is called in multiple for-loops, and the loop indices are given to your function. One of these indices are from a ...

1 year ago | 0 | 2 solvers

Problem

Undocumented MATLAB tricks No. 1 - Save a function-returned struct

Often we face the case when we want to save a function-returned struct to a mat file with each of its field as individual variab...

1 year ago | 0 | 5 solvers

Question

How to limit the usage of GPU to only one parallel worker?

Since the GPU memory is very limited, it can only undertake one job at a time, but much faster than the same job on CPU. Now I h...

1 year ago | 1 answer | 0

Answered

Why do I receive an Error regarding third party software when Downloading or Installing a support package?

Why is this function still so stupid till now? How many versions and years have passed? Are there any staffs really working on t...

Why do I receive an Error regarding third party software when Downloading or Installing a support package?

Why is this function still so stupid till now? How many versions and years have passed? Are there any staffs really working on t...

1 year ago | 0

Question

How to declare a function as Static if it is defined as an individual file under the class folder?

In the class definition file we define Static functions as such: methods(Static) function SomeFunction() end end However, w...

1 year ago | 1 answer | 0

Solved

Dealfun (1.0)

*Short description.* Write a function _dealfun_: [y1,y2,...,yn]=dealfun(fhandle,x1,x2,...,xn) which evaluates the f...

1 year ago

Question

How to elegantly open or create new file for reading and writing but not discard existing contents?

If the file exists, open it for reading and writing, but don't discard existing content; else, create it. Isn't it a very commo...

1 year ago | 2 answers | 0

Answered

save problem: -STRUCT must be the name of a scalar structure variable

save(filename,'-fromStruct',test);

save problem: -STRUCT must be the name of a scalar structure variable

save(filename,'-fromStruct',test);

1 year ago | 0

Question

How to open a script in a running MATLAB instance with Windows Command Line?

Double-click a script file in Windows File Explorer will open the script in a running MATLAB instance if it exists. Only when no...

1 year ago | 1 answer | 1

Question

Can simscape products simulate a solar system?

I didn't find a way to set a series of free bodies that are only affected by gravity. Free bodies seem totally impossible in sim...

1 year ago | 1 answer | 0

Question

What is prodofsize?

I saw it in the document of cellfun, but it does not seem to exist as an actual function, i.e., it's impossible to call it direc...

2 years ago | 1 answer | 0

Submitted

Tiff 快速 拆分 与 合并 Quick Split Merge

这是一个以IFD为单位对Tiff进行快速拆分与合并的工具包。因为无需解析IFD内容，所以能够快速操作应用了压缩算法的Tiff，无需解析IFD内部信息，无需解码，直接底层剪接。

2 years ago | 1 download |

Answered

Every time I push to the remote GitHub repository, I have to re-input my username and password. Is there some way to avoid this by having MATLAB store this information?

I tried all steps given by these two answers and the document on https://www.mathworks.com/help/matlab/matlab_prog/set-up-git-so...

Every time I push to the remote GitHub repository, I have to re-input my username and password. Is there some way to avoid this by having MATLAB store this information?

I tried all steps given by these two answers and the document on https://www.mathworks.com/help/matlab/matlab_prog/set-up-git-so...

2 years ago | 3

Submitted

快速 跳转 当前 文件夹 快捷方式 Pwd Shortcut Quick Jump

设置命令行快捷方式，快速跳转当前文件夹到你常用的路径

2 years ago | 1 download |

Submitted

最强 Venn Chart 作图 双圈 三圈

全File Exchange最强的几何完备Venn作图工具包。只要几何上有可能实现的Venn图，就全都能给你作出来！支持任意方向变换、缩放、颜色调整，完全重合或无重合等特殊情况也不会出错！双圈三圈全部支持！

2 years ago | 2 downloads |

Submitted

Cody anti-cheat 反作弊

Cody挑战者们常用一些反常的数据类型绕过出题人的答案检查。这里列出一些常见的作弊方法。

2 years ago | 0 downloads |

Solved

Restricted Subtraction v1

This problem is <https://www.mathworks.com/matlabcentral/cody/problems/45265-restricted-addition-v4 Restricted Addition v4> with...

2 years ago

Solved

Restricted Multiplication v1

This problem is <https://www.mathworks.com/matlabcentral/cody/problems/45265-restricted-addition-v4 Restricted Addition v4> with...

2 years ago