Community Profile

photo

upol


UoS

Actif depuis 2018

Followers: 0   Following: 0

Contact

Statistiques

  • Revival Level 1
  • First Answer

Afficher les badges

Feeds

Afficher par

Question


matlab coder error Directly accessing field or property of nonscalar struct or object not supported for code generation.
This works in Matlab but not in Coder, Why? s1=string({OPS_FLT(:).ACFT_ID}) s2=OPS_FLT(2).ACFT_ID uuindex=find(strcmpi(s1,s2...

plus de 5 ans il y a | 1 réponse | 1

1

réponse

Question


find a particular string from struct cell array
I have something like this, aircraft(1).field="B747#1CM001" I need to isolate "B747" and "1CM001" from this string. So I need ...

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

1

réponse

Question


Coder gives error Directly accessing field or property of nonscalar struct or object not supported for code generation.
Why this gives problem in C Coder. Error: Directly accessing field or property of nonscalar struct or object not supported for c...

plus de 5 ans il y a | 1 réponse | 1

1

réponse

A répondu
I got the error: undefined reference to WinMain when converting a simple matlab function to a c executable
Why this gives problem in C Coder. Error: Directly accessing field or property of nonscalar struct or object not supported for c...

plus de 5 ans il y a | 0

A répondu
Non Scalar Structures
Why this gives problem in C Coder. Error: Directly accessing field or property of nonscalar struct or object not supported for c...

plus de 5 ans il y a | 0

A répondu
How to find string structure elements?
Why this gives problem in C Coder. Error: Directly accessing field or property of nonscalar struct or object not supported for c...

plus de 5 ans il y a | 0

A répondu
I got the error: undefined reference to WinMain when converting a simple matlab function to a c executable
https://uk.mathworks.com/help/coder/ug/standalone-c-c-executables-from-matlab-code.html

plus de 5 ans il y a | 1

A répondu
I got the error: undefined reference to WinMain when converting a simple matlab function to a c executable
I am trying to convert this simple code into excutable using matlab coder. function y = hello_world %#codegen y = 'Hello Wo...

plus de 5 ans il y a | 0

A répondu
Change format in created C code
I am trying to convert this simple code into excutable using matlab coder. function y = hello_world %#codegen y = 'Hello W...

plus de 5 ans il y a | 0

A répondu
"Attempted to access an element that was not defined before use" - MATLAB Coder
I am trying to convert this simple code into excutable using matlab coder. function y = hello_world %#codegen y = 'Hello W...

plus de 5 ans il y a | 0

A répondu
Can variable size matrices be used as inputs with coder.ceval?
I am trying to convert this simple code into excutable using matlab coder. function y = hello_world %#codegen y = 'Hello W...

plus de 5 ans il y a | 0

A répondu
how to solve the error says : "The function sym is not supported for standalone ..." when I convert the Matlab code to C/C++ code??
I am trying to convert this simple code into excutable using matlab coder. function y = hello_world %#codegen y = 'Hello W...

plus de 5 ans il y a | 0

A répondu
How to convert table2array function in c using matlab coder
I am trying to convert this simple code into excutable using matlab coder. function y = hello_world %#codegen y = 'Hello W...

plus de 5 ans il y a | 0

A répondu
"Attempted to access an element that was not defined before use" - MATLAB Coder
how to define varsize?

environ 6 ans il y a | 0

A répondu
precision of a binary file or text file? "fread"
fscanf doesnt support into matlab c coder. what other option do i have?

environ 6 ans il y a | 0

Question


How to read text file using only fopen, fread, fclose
Hi, I need to read this file using only fopen, fread and fclose becasue later I will convert this into C code using matlab code...

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

1

réponse

A répondu
How to read text file using only fopen, fread, fclose
I use this, but it doesnt work clear all fid = fopen('icao_emission_databank_simplified.txt'); data=fread(fid,'char'); N =...

environ 6 ans il y a | 0

Question


How to convert table2array function in c using matlab coder
I am using a mfile which reads text files from different directory. I need to convert this mfile into C code using matlab coder ...

environ 6 ans il y a | 2 réponses | 1

2

réponses