A MATLAB string constant is not terminated properly

Basic question about MATLAB programming
Post Reply
matlab1
Site Admin
Posts: 4797
Joined: Thu Dec 15, 2016 9:30 am
Contact:

A MATLAB string constant is not terminated properly

Post by matlab1 »

tf
matlab1
Site Admin
Posts: 4797
Joined: Thu Dec 15, 2016 9:30 am
Contact:

Re: A MATLAB string constant is not terminated properly

Post by matlab1 »

For solution, you must enter a complete string

for example

var1 = "matlab1.com


is wrong, because you did not terminate the string.

var1 = "matlab1.com"


is right.
Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests