回答済み
Why can't I enable the "treat as atomic unit"? To use the PLC coder generator.
Hi Yunxiang, Which version of MATLAB/Simulink do you have? You may need to create a (virtual) subsystem around your enable...

10年以上 前 | 0

回答済み
Port MATLAB .m code to Objective C++
Hi Sven, Sorry about you not having heard from our sales team in over 2 weeks! I've contacted the account representative abou...

10年以上 前 | 3

解決済み


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

11年弱 前

解決済み


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

11年弱 前

解決済み


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

11年弱 前

回答済み
Removing cell arrays from code
That's correct, essentially, convert your cell arrays into structs and you'll be all set. So I'd use: mystrings(1).name = '...

12年弱 前 | 0

回答済み
Can Matlab Coder suport parallel computing toolbox
If you are going to run the application in MATLAB, you can consider creating MEX files for your application, and then deploy the...

12年弱 前 | 0

回答済み
PLC program by Simulink PLC Coder
PLC Coder generates structured text that is wrapped in an AOI (Addon Instruction) or a routine, which is then imported into RSLo...

約12年 前 | 0

回答済み
PLC Coder ST generation
Hi Joe, In order to do that, you'd have to C code into Structured Text, and unfortunately it's not currently possible. C code...

約12年 前 | 0

回答済み
Distributing MATLAB code to a company without a MATLAB lisence
As Walter mentioned, MATLAB Coder may be an option for you to pass along your MATLAB code as C code. You can find the list of su...

12年以上 前 | 0

回答済み
matrix inverse in plc coder
Hi Puneeth, I'm able to generate structured text from a Simulink model with a MATLAB Function block that uses inv(a). I'm usi...

12年以上 前 | 0