matlab coder cant auto define input type

조회 수: 6 (최근 30일)
peggy wu
peggy wu 2019년 8월 1일
답변: Jean-Alain Geay 2022년 2월 18일
I try to automatically define input type , but some question happen.
001.jpg
it ask me to "use 'f' option to override"
what is 'f' option?
how do i solve this problem
  댓글 수: 1
Kevin Chng
Kevin Chng 2019년 8월 2일
may be some function files are missing or try to delete the generated codegen folder, then compile again.

댓글을 달려면 로그인하십시오.

답변 (2개)

Chidvi Modala
Chidvi Modala 2019년 8월 7일
The following reasons may be causing the error
  1. Invalid characters like colon(:) cannot be used in the name of a file or a directory on Windows. The full set of invalid characters can vary by file system. For example, on Windows-based desktop platforms, invalid path characters might include ASCII/Unicode characters 1 through 31, as well as quote ("), less than (<), greater than (>), pipe (|), backspace (\b), null (\0) and tab (\t).
  2. Are you running this from inside a MATLAB directory (ie. where MATLAB is installed)? Try from a different location, such as your home directory.

Jean-Alain Geay
Jean-Alain Geay 2022년 2월 18일
Hi,
I encountered the same error and the cause was the target directory being read-only. Just making the directory read-write solved the issue.

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by