error
-
[Matlab] 이 컨텍스트에서는 함수 정의가 지원되지 않습니다. 함수는 코드 파일에서 로컬 함수 또는 중첩 함수로만 생성할 수 있습니다.Matlab 2024. 3. 23. 00:23
이 컨텍스트에서는 함수 정의가 지원되지 않습니다. 함수는 코드 파일에서 로컬 함수 또는 중첩 함수로만 생성할 수 있습니다. 라는 문구가 뜬다면, 앞서 작성한 코드 중에서 end를 빠뜨린 것이 아닌지 확인해본다. Matlab에서는 if문이나 for문 끝단에 end를 적어주어야한다. (매트랩 공식 문서 참고) https://kr.mathworks.com/help/matlab/ref/if.html 조건이 true인 경우 명령문 실행 - MATLAB if elseif else - MathWorks 한국 표현식은 관계 연산자(예: < 또는 ==)와 논리 연산자(예: &&, || 또는 ~)를 포함할 수 있습니다. 논리 연산자 and와 or를 사용하여 복합 표현식을 생성합니다. MATLAB®은 연산자 우선 순위 규칙..
-
[docker] Docker Run 시 오류 __ docker connetion이 안될 때 (error during connect: This error may indicate that the docker daemon is not running / The system cannot find the file specified.)서버 2023. 7. 29. 17:33
1. DockerCli.exe -SwitchDaemon cd C:\Program Files\Docker\Docker DockerCli.exe -SwitchDaemon 안내창이 떴고, 다시 도커 프로그램을 켜서 들어가봤는데 연결을 시도중이나 안된다. 2. Docker connect를 잠시 포기하고 software 업데이트를 진행했다. 다운로드 후, update and restart를 진행했다. 하지만 중간에 멈춰서 공식 홈페이지에 들어가서 다시 깔았다. https://www.docker.com/ Docker: Accelerated, Containerized Application Development Docker is a platform designed to help developers build, shar..
-
[flutter] 플러터 Cannot run with sound null safety, because the following dependenciesdon't support null safety 에러 해결하기앱 개발/플러터(Flutter) 2022. 7. 24. 03:50
플러터 코딩을 하다가 아래와 같이 Cannot run with sound null safety, because the following dependencies don't support null safety: 이하의 에러가 발생한다면, ( 어떻게 해결하는지에 대한 포스팅이다. 아래는 에러 전문이다.) Cannot run with sound null safety, because the following dependencies don't support null safety: - package:flutter_screenutil For solutions, see https://dart.dev/go/unsound-null-safety FAILURE: Build failed with an exception. * Wh..
-
[github] @github.com: Permission denied (publickey). 오류 해결 방법git 2022. 3. 17. 21:12
@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 와 같은 에러가 뜬다면, 아래와 같이 해결할 수 있다. https://maliceit.tistory.com/51 git permission denied (publickey) : git 명령어 에러 해결방법 git permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the cor..
-
[python] ta-lib 설치 오류 발생 시카테고리 없음 2022. 3. 10. 17:09
pip로 ta-lib를 설치하다가 아래와같이 에러가 뜨고 (이후 엄청난 빨간 글씨가 뜬다면..) 1. 아래 주소에 접속한다. https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib Python Extension Packages for Windows - Christoph Gohlke by Christoph Gohlke, Laboratory for Fluorescence Dynamics, University of California, Irvine. Updated on 10 March 2022 at 06:17 UTC. This page provides 32 and 64-bit Windows binaries of many scientific open-source extensi..
-
[Java] constructor Class(data type) is already defined in class Class / method Method(data type) is already defined in class Class 오류 해결하기앱 개발/오류모음 - Java 2022. 1. 18. 11:48
생성자(constructor)를 오버로딩(overloading)할 때, 매개변수를 달리하여 오버로딩 할 수 있다. 하지만, 아래와 같이 매개변수를 받는 자료형이 그 종류와 개수가 동일할 경우에는 오류가 발생한다. 1. constructor Class(data type) is already defined in class Class 즉, 해당 data type을 가진 생성자가 이미 선언되었다는 뜻이다. 사람의 눈으로는 받는 매개변수의 이름이 다르기 때문에 다른 생성자로 보일지라도, 컴퓨터의 입장에서는 해당 Class로 객체를 생성할 때, 어떤 생성자를 가지고 생성해야하는지 판단하지 못하는 상황이 발생한다. 이 오류는 메소드를 선언할 때에도 똑같이 발생하는데, 아래와 같이 int형만 가진 method1 메소드..
-
[Java] 자바 '{' expected / constructor Class in class Class cannot be applied to given types; 오류 해결앱 개발/오류모음 - Java 2022. 1. 17. 15:52
1. '{' expected 클래스를 생성할 때 다른 언어에서 함수를 선언하는 것처럼 괄호와 받을 매개변수들을 적어놓으면 안된다. 다음과 같은 에러가 뜨는데, '{' expected 이는 Cookie라는 클래스를 선언할 때에 Cookie라는 이름 뒤에 바로 중괄호가 와야한다는 뜻이다. 아래와 같이 해결할 수 있으며, 이를 생성자(constructor)이라고 한다. 메소드(method)의 데이터 형은 생략하고 클래스의 이름과 괄호, 중괄호로 코드를 구성한다. 초기설정과 비슷한 느낌이라고 볼 수 있다. 파이썬의 __init__과 유사하다. 2. constructor Class in class Class cannot be applied to given types; 이때, 클래스의 생성자가 필요로하는 매개변수를..