統計
0 質問
65 回答
ランク
of 155,395
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
1 パブリック チャネル
平均評価
50
コントリビューション
0 ハイライト
平均いいねの数
Feeds
Error in Matlab2017b coder: the extrinsic function "size" is not available for standalone code generation.
size() is supported for code generation, this is one of the basic functions that always works. To understand why the error happe...
約1年 前 | 0
| 採用済み
compiler error during ros code generation
Hi Andinet, I suspect there is some kind of cmake configuraiton issue on your system. Google search for "could not find pkgconfi...
約1年 前 | 0
(Enhancement Request) generated code for the "arguments...end" default argument syntax in matlab coder
Hi CUI, just to follow up, yes this is an enhancement that is being considered for a future release. Thanks for your input!
1年以上 前 | 1
| 採用済み
How to integrate codegen generated multiple different C projects using calls to generated functions?
Hi cui, The memory issues you describe can happen if both projects contain some unnamed structu types (that is, types that do n...
1年以上 前 | 0
| 採用済み
How to exclude events property when executing MATLAB coder
Hi Kristada, thanks for posting this question! Ideally, MATLAB Coder should support events. At the very minimum, it should let ...
1年以上 前 | 1
| 採用済み
Generating corresponding C++ interface class function signature inline behaviour for MATLAB classes not as expected?
Hi cui, I understand what you want to achieve. You want to generate C++ code for this MATLAB class, and get a reusable, stable ...
1年以上 前 | 2
| 採用済み
Create a codegen implementation of chol function where the size of the matrix is not hard-coded.
Yes this can be done. When you use MATLAB Coder ('codegen' command), you need to decide what are the input arrays that you feed ...
1年以上 前 | 0
Debug in coder.extrinsic
There are two possible causes for an error in the extrinsic call. The error is in the body of this function. The error (size m...
1年以上 前 | 0
Access a different input-argument, when calling a fucntion
This error message suggests you to open the Symbols pane in the MATLAB Function block and enter the upper bound size for this ou...
約2年 前 | 0
When I use Matlab coder,This problem occurs,“Undefined function or variable 'outputLimits'.”
Can you check if you have Image Processing Toolbox installed? outputLimits belongs to that toolbox, so if you don't have it, the...
約2年 前 | 0
How to properly define a complex externally defined input argument to entry point function in code generation?
Hi AB, I don't see any way to accomplish this directly. MATLAB Coder just can't comprehend a notion of an open-ended struct, no...
約2年 前 | 0
| 採用済み
Coder codegen on multiple cores
Unfortunately, no, MATLAB Coder / codegen can't run in parallel. It is a good idea and the development team is aware of it, but ...
約2年 前 | 0
Is there a way to turn off function specialization for a function or all functions
Hi Nathan, no, unfortunately there is no blanket way to do so. Specialization happens in 3 cases: Calls to a function with in...
2年以上 前 | 0
| 採用済み
How to set output type manually in matlab coder
Hi Alireza, The "emxArray_real_T" type indicates that the code generator does not know what is the maximum number of elements i...
2年以上 前 | 0
Convert a sub function within an M file
Hi Phil, A subfuncton cannot be an entry point for MATLAB Coder. You'd need to move that subfunction into a separate .m file, t...
2年以上 前 | 1
| 採用済み
How can matlab coder be configured to generate only one c file?
Yes you can tell MATLAB Coder to generate a single file. Here is the doc page.
3年弱 前 | 0
Does Matlab coder work with the Global Optimization Toolbox?
Hi Dave, I passed your feedback to the development team, so they prioritize supporting this function for code generation. If ...
3年弱 前 | 0
libmwtbbhist.dll not found when using dynamic library in visual studio project
On the last page in the MATLAB Coder UI, there is a "package" button in the top right part of the screen. If you click it, it wo...
3年弱 前 | 1
| 採用済み
Matlab Coder refuses to support houghlines.m
First, this is a bug. The error is not expected. I referred this to the MathWorks software development team to be fixed in futur...
3年以上 前 | 0
Function 'webread' not supported for code generation Matlab - ThingSpeak - Raspberry Pi
Yes, you are right, webread() does not support code generation. As a workaround, you can use coder.ceval functon to call a hand-...
3年以上 前 | 2
Convert .m file to standalone .exe file without Application/MATLAB compiler
There are two solutions: MATLAB Compiler and MATLAB Coder. See this link for details.
3年以上 前 | 0
How can I print variables when deploying code on a raspberry ?
Hi Guilhem, I think fprintf is the only soltuion that would work for you. For arrays, perhaps you can just write your own myprin...
3年以上 前 | 2
| 採用済み
Error generating code to implement RegressionGP Model using MATLAB Function in Simulink (The input to coder.const cannot be reduced to a constant: Unsupported value.)
Hi Michelle, there is nothing wrong with your code, the issue looks like a bug in the product. Can you please contact MathWorks ...
4年以上 前 | 0
| 採用済み
Code generation with ordered data structures of objects e.g. lists or vectors of objects
As of R2020a, MATLAB Coder supports cell array of value objects, which get converted to arrays of struct in C and arrays of clas...
4年以上 前 | 1
Using MATLAB Class with coder.ceval calls in App designer
Hi Noah, you are correct. Some background: MATLAB Compiler (standalon application) is NOT a compiler. It is a deployment too...
4年以上 前 | 1
| 採用済み
Can I change the name of a function during codegen?
Unfortunately, no, there is no mechanism to rename the function in the generated C code. I've added a request for the developmen...
5年弱 前 | 0
| 採用済み
Matlab inbuilt functions to cpp code
Here is the list of functions and classes that can be converted to C/C++ using MATLAB Coder: https://www.mathworks.com/help/code...
5年弱 前 | 2
Is it possible to access struct fields dynamically in generated code?
The the specific question you are asking ("is possible to access struct fields dynamically in generated code"), the answer is "n...
5年弱 前 | 0
| 採用済み
License checkout failed for borrowed license/products
Can you please contact MathWorks technical support and tell them you have a problem related to installation and licensing. This ...
5年弱 前 | 0
Direct path in generated code
Hi Arthur, the bottom line: These paths are there because you configured MATLAB Coder to produce C code with runtime error chec...
約5年 前 | 2
| 採用済み